terraform-aws-ecs-web-service
terraform-aws-ecs-web-service copied to clipboard
Tags in Line 7 and 57 break module in TFE
Error from TFE remote state backend regarding the tags in line 7 and 51 of main.tf I ran into this issue and the correction I found was this: tags = { "tag one in quotes" = "tag" etc etc
Needs the = sign, and the original tags in quotes.
Errors Below:
Configuring remote state backend...
Initializing Terraform configuration...
2019/05/23 16:12:30 [DEBUG] Using modified User-Agent: Terraform/0.12.0 TFE/d377923
Error: Unsupported block type
on .terraform/modules/Console.app_web_service/main.tf line 7, in resource "aws_security_group" "main":
7: tags {
Blocks of type "tags" are not expected here. Did you mean to define argument
"tags"? If so, use the equals sign to assign it a value.
Error: Unsupported block type
on .terraform/modules/Console.app_web_service/main.tf line 51, in resource "aws_alb_target_group" "main":
51: tags {
Blocks of type "tags" are not expected here. Did you mean to define argument
"tags"? If so, use the equals sign to assign it a value.
Error: Unsupported block type
on .terraform/modules/Jack.app_web_service/main.tf line 7, in resource "aws_security_group" "main":
7: tags {
Blocks of type "tags" are not expected here. Did you mean to define argument
"tags"? If so, use the equals sign to assign it a value.
Error: Unsupported block type
on .terraform/modules/Jack.app_web_service/main.tf line 51, in resource "aws_alb_target_group" "main":
51: tags {
Blocks of type "tags" are not expected here. Did you mean to define argument
"tags"? If so, use the equals sign to assign it a value.
Error: Unsupported block type
on .terraform/modules/Scout.app_web_service/main.tf line 7, in resource "aws_security_group" "main":
7: tags {
Blocks of type "tags" are not expected here. Did you mean to define argument
"tags"? If so, use the equals sign to assign it a value.
Error: Unsupported block type
on .terraform/modules/Scout.app_web_service/main.tf line 51, in resource "aws_alb_target_group" "main":
51: tags {
Blocks of type "tags" are not expected here. Did you mean to define argument
"tags"? If so, use the equals sign to assign it a value.