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

Terraform subnet fails to create #90

Open
peteawood opened this issue Dec 16, 2021 · 0 comments
Open

Terraform subnet fails to create #90

peteawood opened this issue Dec 16, 2021 · 0 comments

Comments

@peteawood
Copy link
Contributor

Steps to reproduce

Expected results

I expected to find that a subnet with the CIDR range of 10.0.1.0/24 has been created

Actual results

No subnet is created. Instead the terraform apply fails with an error unable to find a value for variable/parameter "VPCId"

This looks like an issue with case sensitivity of environment variables. The terraform variable is "VPCId" but the environment variable being set later on in the Puppet manifest file is "VPCID". When I changed the terraform variable to "VPCID" the subnet provisioned as expected.

Would propose that the fix is to change the terraform variable name as this will be in line with the Service Catalog version of this step which uses VPCID throughout for the parameter name.

peteawood added a commit to peteawood/aws-service-catalog-tools-workshop that referenced this issue Dec 16, 2021
Corrected case of terraform variable name to match the yaml parameter name case
eamonnfaherty added a commit that referenced this issue Dec 17, 2021
Fixing #86 and #90 - Repo name typo, variable name typo
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