Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2h_exercise - mistakes #6

Open
blacky0x0 opened this issue Dec 10, 2018 · 4 comments
Open

2h_exercise - mistakes #6

blacky0x0 opened this issue Dec 10, 2018 · 4 comments

Comments

@blacky0x0
Copy link

blacky0x0 commented Dec 10, 2018

value = "${aws_instance.frontend.public_ip}"

The output block should be the following:

output "frontend_ips" {
  value = "${aws_instance.frontend.*.public_ip}"
}
@blacky0x0 blacky0x0 changed the title 2h_exercise - several frontend ips 2h_exercise - mistakes Dec 10, 2018
@blacky0x0
Copy link
Author

blacky0x0 commented Dec 10, 2018

I also think that the lifecycle for backend resources should be changed to:

  lifecycle {
    prevent_destroy = true
    ignore_changes = ["*"]
  }

to match the current exercise

@blacky0x0
Copy link
Author

It would be great to add the text of the exercise directly to this repository

@blacky0x0
Copy link
Author

blacky0x0 commented Dec 10, 2018

also there is no ami-07585467 but ami-063aa838bd7631e0b can be used instead

@blacky0x0
Copy link
Author

btw, there is no us-west-1a availability zone for us-west-1 region:

aws ec2 describe-availability-zones
AVAILABILITYZONES       us-west-1       available       us-west-1b
AVAILABILITYZONES       us-west-1       available       us-west-1c

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

No branches or pull requests

1 participant