stocky-spoon-28903
07/14/2018, 9:26 PMresources.go
file of the AWS provider with an array type? I thought tokens.NewArrayTypeToken(awsType(autoscalingMod+"/notificationType", "NotificationType"))
may have been it, but that panics at generation time complaining of a missing module delimiter. I don’t see anything of this form in either the GCP or AWS definitions.big-piano-35669
07/15/2018, 4:39 PMElem
field in the override schema. See https://github.com/pulumi/pulumi-terraform/blob/162f81021f6f157711bd231e5599cae82b4af57a/pkg/tfbridge/info.go#L67.
A good example of this in action is here: https://github.com/pulumi/pulumi-aws/blob/13fb8673da2bbe681435cf97e989ffa037c76d3e/resources.go#L876.
Note that the type must be a slice in the Terraform schema for overlaying an array to work.
HTH!stocky-spoon-28903
07/16/2018, 3:07 AMresource.go
is fair game for panics I guess.