Closed voor closed 5 years ago
@nmahoney-pivotal should have the necessary CI/CD pipeline changes now.
New push that resolves issue with terraform resource in concourse:
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.
Error: Attribute name required
on ../modules/infra/networking.tf line 55, in resource "aws_subnet" "public_subnets":
55: ignore_changes = ["tags.%", "tags.kubernetes"]
Dot must be followed by attribute name.
Error: Attribute name required
on ../modules/pks/networking.tf line 40, in resource "aws_subnet" "services_subnets":
40: ignore_changes = ["tags.%", "tags.kubernetes"]
Dot must be followed by attribute name.
LGTM :)
Some extra context for anyone else who looks at this: The AWS Provider recommends against using static credentials. The other methods on that page don't require TF variables, so this PR doesn't contain anything to replace the deprecated variables.
Resolves #83
This will require changes to your pipeline
Trying to nip this one in the bud, since it's starting to get propagated elsewhere. The hard-coded way we have in terraforming-aws with using access key and secret is going to make things a lot worse down the line for EC2 Roles and session tokens, so remove this practice and reference the documentation on numerous alternatives on how to do this.