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

[glue script][terraform] boolean values in terraform::variables of the config.yaml for the glue script are not properly translated in terraform.tfvars #81

Open
mpagot opened this issue Oct 11, 2022 · 2 comments
Assignees

Comments

@mpagot
Copy link
Collaborator

mpagot commented Oct 11, 2022

How to reproduce:
Run qesap.py -c config.yaml -b somewhere configure with terraform::variables section of config.yaml to also contain variable like:

terraform:
  variables:
    hana_ha_enabled: true

result in terraform.tfvars to be generated with

hana_ha_enabled = "True"

That is not a valid value for Terraform

@mpagot
Copy link
Collaborator Author

mpagot commented Oct 11, 2022

Workaround is to use, in the config.yaml, a syntax like

terraform:
  variables:
    hana_ha_enabled: "true"

@mpagot mpagot self-assigned this Oct 11, 2022
@mpagot
Copy link
Collaborator Author

mpagot commented Oct 26, 2022

still valid

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