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

HCL splats cannot be converted #57

Closed
jkodroff opened this issue Feb 11, 2022 · 3 comments
Closed

HCL splats cannot be converted #57

jkodroff opened this issue Feb 11, 2022 · 3 comments
Assignees
Labels
impact/panic This bug represents a panic or unexpected crash kind/engineering Work that is not visible to an external user resolution/fixed This issue was fixed

Comments

@jkodroff
Copy link
Member

The following HCL code causes a panic (which has a deferred recover, so it's not like the bridge dies) due to the presence of a splat .*. in the HCL:

resource "aws_worklink_fleet" "example" {
  name = "terraform-example"

  network {
    vpc_id             = aws_vpc.test.id
    subnet_ids         = [aws_subnet.test.*.id]
    security_group_ids = [aws_security_group.test.id]
  }
}

This causes the example to get dropped for all languages.

@jkodroff jkodroff added the kind/engineering Work that is not visible to an external user label Feb 11, 2022
@jkodroff jkodroff assigned jkodroff and unassigned jkodroff Feb 11, 2022
@jkodroff
Copy link
Member Author

@stack72 to check with @T-Vova if this is something he can handle.

@EvanBoyle EvanBoyle added the impact/panic This bug represents a panic or unexpected crash label Jul 3, 2023
@Frassle Frassle transferred this issue from pulumi/pulumi-terraform-bridge Oct 9, 2023
@t0yv0
Copy link
Member

t0yv0 commented Mar 1, 2024

https://github.com/pulumi/pulumi-aws/blob/master/sdk/python/pulumi_aws/worklink/fleet.py#L371 yes there is the example now. This got corrected by rolling out the new converter to pulumi-aws.

@t0yv0 t0yv0 added the resolution/fixed This issue was fixed label Mar 1, 2024
@t0yv0 t0yv0 closed this as completed Mar 1, 2024
@pulumi-bot pulumi-bot reopened this Mar 1, 2024
@pulumi-bot
Copy link

Cannot close issue:

  • does not have an assignee

Please fix these problems and try again.

@t0yv0 t0yv0 self-assigned this Mar 1, 2024
@t0yv0 t0yv0 closed this as completed Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/panic This bug represents a panic or unexpected crash kind/engineering Work that is not visible to an external user resolution/fixed This issue was fixed
Projects
None yet
Development

No branches or pull requests

4 participants