Skip to content

fix: serialize ECS task definition with Pulumi outputs - #237

Merged
bornast merged 1 commit into
masterfrom
fix/ecs-task-def-ser
Jun 9, 2026
Merged

fix: serialize ECS task definition with Pulumi outputs#237
bornast merged 1 commit into
masterfrom
fix/ecs-task-def-ser

Conversation

@droguljic

Copy link
Copy Markdown
Contributor

Expose taskDefinition directly without wrapping in the pulumi.Output and use pulumi.jsonStringify for ECS containerDefinitions, so nested Pulumi Input and Output values resolve correctly during serialization.
This prevents container definitions contain the unresolved Input and Output values and preserves the task definition when registration behavior when preview values are unknown.
Introduce unit tests for ECS service with task definition serialization test cases.

Expose `taskDefinition` directly without wrapping in the `pulumi.Output` and
use `pulumi.jsonStringify` for ECS `containerDefinitions`, so nested Pulumi
Input and Output values resolve correctly during serialization.
This prevents container definitions contain the unresolved Input and Output
values and preserves the task definition when registration behavior preview
values are unknown.
Introduce unit tests for ECS service with task definition serialization
test cases.
@droguljic droguljic added this to the v2 milestone Jun 5, 2026
@droguljic
droguljic requested a review from bornast June 5, 2026 10:33
@bornast
bornast merged commit 74fe434 into master Jun 9, 2026
2 checks passed
@bornast
bornast deleted the fix/ecs-task-def-ser branch June 9, 2026 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants