-
Notifications
You must be signed in to change notification settings - Fork 19
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
Comments
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: