is a component resource, a helper method for fargate deployments which wraps around the native resources. It's likely not exposed to that level
b
broad-eve-12764
05/25/2021, 5:52 PM
Thanks for the reply, @billowy-army-68599 !
The
Service
constructor args (
ServiceArgs
) in
awsx.ecs
also does not include
deploymentCircuitBreaker
. But, the
ServiceArgs
in
aws.ecs
does include
deploymentCircuitBreaker
.
Is there a reason this configuration option (which is available when using, say, the AWS CLI) is not included in awsx?
b
billowy-army-68599
05/25/2021, 5:53 PM
yes, as above: awsx is an opinionated library which wraps
aws.ecs
- it's just not been exposed to the helper library. If you need the circuit breaker option, you should use the
aws.ecs
and build your own
b
broad-eve-12764
05/25/2021, 5:56 PM
As you said, it's an opinionated library, so I'm assuming the opinion of the library is that I should not be using
deploymentCircuitBreaker
(which is an ECS option that will roll back failing deployments). Is this because that option will conflict with what Pulumi may be doing to roll back a failed deployment?
That's the root of my question -- I want to make sure I'm understanding the reason behind the exclusion of this option, since I don't want to enable something that's going to conflict with Pulumi.
b
billowy-army-68599
05/25/2021, 5:58 PM
it hasn't been excluded per se, it just hasn't been added as an option, it should work just fine
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.