You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means that we don't get any of the generated sdk stuff like replaceOnChanges.
Example
Deploy the examples/fargate example and then change the taskDefinition image. The TaskDefinition should be replaced because containerDefinitions is replaceOnChange.
Output of pulumi about
n/a
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered:
This PR updates our mapping to create resources using the SDK directly
instead of creating a `pulumi.CustomResource`. By using a
`pulumi.CustomResource` we were missing out on all the resource specific
things from the generated SDK. (`replaceOnChanges`, required property
validation, etc).
closes#216
What happened?
When we create
aws-native
resources via the mapping, we use apulumi.CustomResource
instead of the appropriate class from the aws-native sdk.pulumi-cdk/src/interop.ts
Line 87 in 5912f83
This means that we don't get any of the generated sdk stuff like
replaceOnChanges
.Example
Deploy the
examples/fargate
example and then change the taskDefinition image. The TaskDefinition should be replaced becausecontainerDefinitions
isreplaceOnChange
.Output of
pulumi about
n/a
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: