terraform {
required_version = ">=v0.11.7"
/*
backend "s3" {
}
*/
}
#aws provider & access details
provider "aws" {
version = "v1.17.0"
region = "${var.aws_region}"
access_key = "XXXX" //"${var.aws_access_key}"
secret_key = "XXXX" //"${var.aws_secret_key}"
profile = ""
}
// create load balancer
resource "aws_elb" "testt" {
name = "XX-test-elb"
security_groups = [
"sg-XX"]
subnets = [
"subnet-XXX",
"subnet-XX",
"subnet-XX"]
internal = true
cross_zone_load_balancing = false
listener {
instance_port = 80
instance_protocol = "http"
lb_port = 80
lb_protocol = "http"
}
tags {
Environment = "test"
Department = "XX"
}
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/b63552cb-72e1-4f84-a5a8-e0d65b388b9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/b63552cb-72e1-4f84-a5a8-e0d65b388b9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/CACDNCvbiNxTJANxCos4MvUfETRfEK5PbnPtkOXhFZK_iZErg%2Bw%40mail.gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/b63552cb-72e1-4f84-a5a8-e0d65b388b9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/CACDNCvbiNxTJANxCos4MvUfETRfEK5PbnPtkOXhFZK_iZErg%2Bw%40mail.gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
token
- (Optional) Use this to set an MFA token. It can also be sourced from the AWS_SESSION_TOKEN
environment variable.
aws provider & access details
provider "aws" {
version = "v1.17.0"
region = "${var.aws_region}"
access_key = "XXX" //"${var.aws_access_key}"
secret_key = "XX" //"${var.aws_secret_key}"
token = "XXX"
//profile = "arn:aws:iam::711618289438:instance-profile/instance-npp-infrastructure"
}
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/b63552cb-72e1-4f84-a5a8-e0d65b388b9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/CACDNCvbiNxTJANxCos4MvUfETRfEK5PbnPtkOXhFZK_iZErg%2Bw%40mail.gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/b63552cb-72e1-4f84-a5a8-e0d65b388b9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/CACDNCvbiNxTJANxCos4MvUfETRfEK5PbnPtkOXhFZK_iZErg%2Bw%40mail.gmail.com.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/CACkLabjbd9sXFmF9Gk42gCNiavw5t9Qf2YJ9tRCboBfBAMPLgw%40mail.gmail.com.