terraform-community-modules / tf_aws_alb Goto Github PK
View Code? Open in Web Editor NEW[DEPRECATED] Use https://github.com/terraform-aws-modules/terraform-aws-alb
License: MIT License
[DEPRECATED] Use https://github.com/terraform-aws-modules/terraform-aws-alb
License: MIT License
Tests are in place, let's get this into CI.
principle
is currently gathered statically as a variable, defaulting to us-west-2. Per this document create a variable map and do lookups to get this value.
Create tags on each of the taggable resources using the following pattern: https://github.com/terraform-community-modules/tf_aws_vpc/blob/master/variables.tf#L56
Hi @brandoconnor ,
Could you please migrate this module to https://github.com/terraform-aws-modules/terraform-aws-alb ?
Send pull-requests, and we discuss the process as we go. This module is a good candidate to be very feature-rich and powerful.
Thanks,
Anton.
This gives the user the ability to import or have this bucket created on their behalf rather than leaving that up to manual work.
Leveraging this project we should be able to write some tests for this module. It hasn't been attempted yet but a try should be made.
There would be an unsolved problem with CI in terms of cost for those resources... hopefully creating the necessary resources and deleting them immediately afterward is enough to fall within the free AWS tier.
The documentation says that log_prefix, certificate_arn are optional. If I don't set them I get the following:
| => tf validate && tf plan
1 error(s) occurred:
* module root:
module alb: required variable "certificate_arn" not set
module alb: required variable "log_prefix" not set
Here's how I'm using the module
module "alb" {
source = "modules/terraform-community-modules/tf_aws_alb/alb"
//alb_is_internal = ""
//alb_name
//alb_protocols
alb_security_groups = "${module.alb_sg.security_group_id_web}"
aws_region = "${var.region}"
aws_account_id = "${var.account_id}"
//backend_port
//backend_protocol
//certificate_arn
//cookie_duration
//health_check_path
log_bucket = "${var.alb_logs_bucket}"
//log_prefix
//principal_account_id
subnets = "${var.alb_subnets}"
vpc_id = "${module.vpc.vpc_id}"
//tags
}
Currently this module requires the user to set up S3 access logs (and bucket permissions manually) themselves. I'd like to remove this dependency and make access logging optional, ideally arriving at a way to also provide permissions to the bucket as necessary.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.