Skip to content

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

Open
@jonnyry

Description

@jonnyry

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions