Skip to content

fix: serialize ECS task definition with Pulumi outputs#237

Open
droguljic wants to merge 1 commit into
masterfrom
fix/ecs-task-def-ser
Open

fix: serialize ECS task definition with Pulumi outputs#237
droguljic wants to merge 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
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.

1 participant