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

Porter is expanding string parameters that look like scientific notation when passing to terraform #4273

Open
jonnyry opened this issue Jan 16, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@jonnyry
Copy link
Collaborator

jonnyry commented Jan 16, 2025

In a custom template, we are passing the four character short resource ID into a template and using it within terraform.

Occassionally this resembles a number in scientific notation, e.g. 51e5.

When this occurs, porter is expanding the scientific notation, and passing 510000000 into terraform, which causes our template to fail.

Not strictly a TRE issue as the expansion appears to be happening within the terraform mixin, but logging for visibility.

Logged here: getporter/terraform-mixin#124

@jonnyry jonnyry added the bug Something isn't working label Jan 16, 2025
@jonnyry jonnyry changed the title Porter is expanding strings that look like scientific notation when passing to terraform Porter is expanding string parameters that look like scientific notation when passing to terraform Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant