Closed awsomeinfra closed 11 months ago
@awsomeinfra thank you for reaching out.
Please may you confirm the path for the .tfvars
or .auto.tfvars
within the aft-account-customizations
repository?
@snebhu3 .tfvars or .auto.tfvars is in the same module as main.tf
@awsomeinfra can you confirm that yourterraform.auto.tfvars
file is not ignored by git and that its present in the respective remote github repository?
@snebhu3 Thanks for pointing this out, .tfvars was not present in github as its was ignored by gitignore. I have made this correction and not its working fine.
Terraform Version & Prov:
AFT Version: 1.10.3
Terraform Version & Provider Versions Please provide the outputs of
terraform version
andterraform providers
from within your AFT environmentterraform version
terraform providers
Bug Description In aft-account-customisation-repo, we have Terraform configuration that includes tfvars or .auto.tfvars files for variable declaration. But AFT account customisation pipeline is running into error "Error: No value for required variable". If default values are assigned along with variable definition then it runs fine, but if we use .tfvars or .auto.tfvars then it does not work.
To Reproduce Steps to reproduce the behavior:
Expected behavior AFT pipeline should pick variable declaration form tfvars or .auto.tfavrs
Related Logs NA
Additional context NA