Skip to content

Conversation

@alexander-kogan
Copy link
Owner

No description provided.

@atlantis-for-elb1
Copy link

Ran Plan for dir: dev workspace: default

Plan Error

Show Output
running "/bin/terraform init -input=false -no-color -upgrade" in "/root/.atlantis/repos/vasilax/multi_az_wordpress/6/default/dev": exit status 1
There are some problems with the configuration, described below.

The Terraform configuration must be valid before initialization so that
Terraform can determine which modules and providers need to be installed.

Warning: Interpolation-only expressions are deprecated

  on main.tf line 3, in provider "aws":
   3:     access_key = "${var.aws_access_key}"

Terraform 0.11 and earlier required all non-constant expressions to be
provided via interpolation syntax, but this pattern is now deprecated. To
silence this warning, remove the "${ sequence from the start and the }"
sequence from the end of this expression, leaving just the inner expression.

Template interpolation syntax is still used to construct strings from
expressions when the template includes multiple interpolation sequences or a
mixture of literal strings and interpolations. This deprecation applies only
to templates that consist entirely of a single interpolation sequence.

(and 43 more similar warnings elsewhere)


Warning: Quoted references are deprecated

  on main.tf line 270, in resource "aws_instance" "web_us_east_1b":
 270:   depends_on = ["aws_db_instance.wp-rds"]

In this context, references are expected literally rather than in quotes.
Terraform 0.11 and earlier required quotes, but quoted references are now
deprecated and will be removed in a future version of Terraform. Remove the
quotes surrounding this reference to silence this warning.

(and 2 more similar warnings elsewhere)


Error: Attribute redefined

  on main.tf line 264, in resource "aws_elb_attachment" "elb_attachment":
 264:    instance = "${aws_instance.web_us_east_1c.id}"

The argument "instance" was already set at main.tf:263,4-12. Each argument may
be set only once.


Error: Attribute redefined

  on main.tf line 271, in resource "aws_instance" "web_us_east_1b":
 271:   depends_on = ["aws_elb.wp_elb_web"]

The argument "depends_on" was already set at main.tf:270,3-13. Each argument
may be set only once.


Error: Attribute redefined

  on main.tf line 323, in resource "aws_instance" "web_us_east_1c":
 323:   depends_on = ["aws_instance.web_us_east_1b"]

The argument "depends_on" was already set at main.tf:322,3-13. Each argument
may be set only once.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants