diff --git a/provider/cmd/pulumi-resource-aws/schema.json b/provider/cmd/pulumi-resource-aws/schema.json index 738e3d79d3..5963cd2329 100644 --- a/provider/cmd/pulumi-resource-aws/schema.json +++ b/provider/cmd/pulumi-resource-aws/schema.json @@ -246624,7 +246624,7 @@ }, "forceNewDeployment": { "type": "boolean", - "description": "Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates.\n" + "description": "Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates.\nWhen using the forceNewDeployment property you also need to configure the triggers property.\n" }, "healthCheckGracePeriodSeconds": { "type": "integer", @@ -246782,7 +246782,7 @@ }, "forceNewDeployment": { "type": "boolean", - "description": "Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates.\n" + "description": "Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates.\nWhen using the forceNewDeployment property you also need to configure the triggers property.\n" }, "healthCheckGracePeriodSeconds": { "type": "integer", @@ -246929,7 +246929,7 @@ }, "forceNewDeployment": { "type": "boolean", - "description": "Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates.\n" + "description": "Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates.\nWhen using the forceNewDeployment property you also need to configure the triggers property.\n" }, "healthCheckGracePeriodSeconds": { "type": "integer", diff --git a/provider/doc_edits.go b/provider/doc_edits.go index aa1f798b91..e551eb3ace 100644 --- a/provider/doc_edits.go +++ b/provider/doc_edits.go @@ -27,7 +27,8 @@ import ( func editRules(defaults []tfbridge.DocsEdit) []tfbridge.DocsEdit { return append(defaults, fixUpCloudFrontPublicKey, - fixUpEcsServiceName, + fixUpEcsServiceNameTrigger, + fixUpEcsServiceNameForceNewDeployment, // This fixes up strings such as: // // name = "terraform-kinesis-firehose-os", @@ -80,13 +81,25 @@ var fixUpCloudFrontPublicKey = targetedSimpleReplace("cloudfront_public_key.html "Instead, it is recommended to use Pulumi autonaming by leaving this property unset (default behavior) "+ "or set the `namePrefix` property to allow the provider to autoname the resource.\n") -var fixUpEcsServiceName = targetedSimpleReplace("ecs_service.html.markdown", +var fixUpEcsServiceNameTrigger = targetedSimpleReplace("ecs_service.html.markdown", "* `triggers` - (Optional) Map of arbitrary keys and values that, when changed, will trigger "+ "an in-place update (redeployment). Useful with `plantimestamp()`. See example above.\n", "* `triggers` - (Optional) Map of arbitrary keys and values that, when changed, will trigger "+ "an in-place update (redeployment). Useful with `plantimestamp()`. "+ "When using the triggers property you also need to set the forceNewDeployment property to True.\n") +var fixUpEcsServiceNameForceNewDeployment = targetedSimpleReplace( + "ecs_service.html.markdown", + "* `force_new_deployment` - (Optional) Enable to force a new task deployment of the service. "+ + "This can be used to update tasks to use a newer Docker image with same image/tag combination "+ + "(e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy "+ + "`ordered_placement_strategy` and `placement_constraints` updates.", + "* `force_new_deployment` - (Optional) Enable to force a new task deployment of the service. "+ + "This can be used to update tasks to use a newer Docker image with same image/tag combination "+ + "(e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy "+ + "`ordered_placement_strategy` and `placement_constraints` updates.\n"+ + "When using the forceNewDeployment property you also need to configure the triggers property.\n") + func reReplace(from string, to string) tfbridge.DocsEdit { fromR, toB := regexp.MustCompile(from), []byte(to) return tfbridge.DocsEdit{ diff --git a/sdk/dotnet/Ecs/Service.cs b/sdk/dotnet/Ecs/Service.cs index 40e8796c77..dbf1336d6d 100644 --- a/sdk/dotnet/Ecs/Service.cs +++ b/sdk/dotnet/Ecs/Service.cs @@ -264,6 +264,7 @@ public partial class Service : global::Pulumi.CustomResource /// /// Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates. + /// When using the forceNewDeployment property you also need to configure the triggers property. /// [Output("forceNewDeployment")] public Output ForceNewDeployment { get; private set; } = null!; @@ -504,6 +505,7 @@ public InputList CapacityProviderStr /// /// Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates. + /// When using the forceNewDeployment property you also need to configure the triggers property. /// [Input("forceNewDeployment")] public Input? ForceNewDeployment { get; set; } @@ -730,6 +732,7 @@ public InputList CapacityProvider /// /// Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates. + /// When using the forceNewDeployment property you also need to configure the triggers property. /// [Input("forceNewDeployment")] public Input? ForceNewDeployment { get; set; } diff --git a/sdk/go/aws/ecs/service.go b/sdk/go/aws/ecs/service.go index 6207b6bc18..a7388173e7 100644 --- a/sdk/go/aws/ecs/service.go +++ b/sdk/go/aws/ecs/service.go @@ -253,6 +253,7 @@ type Service struct { // Enable to delete a service even if it wasn't scaled down to zero tasks. It's only necessary to use this if the service uses the `REPLICA` scheduling strategy. ForceDelete pulumi.BoolPtrOutput `pulumi:"forceDelete"` // Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `orderedPlacementStrategy` and `placementConstraints` updates. + // When using the forceNewDeployment property you also need to configure the triggers property. ForceNewDeployment pulumi.BoolPtrOutput `pulumi:"forceNewDeployment"` // Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Only valid for services configured to use load balancers. HealthCheckGracePeriodSeconds pulumi.IntPtrOutput `pulumi:"healthCheckGracePeriodSeconds"` @@ -351,6 +352,7 @@ type serviceState struct { // Enable to delete a service even if it wasn't scaled down to zero tasks. It's only necessary to use this if the service uses the `REPLICA` scheduling strategy. ForceDelete *bool `pulumi:"forceDelete"` // Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `orderedPlacementStrategy` and `placementConstraints` updates. + // When using the forceNewDeployment property you also need to configure the triggers property. ForceNewDeployment *bool `pulumi:"forceNewDeployment"` // Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Only valid for services configured to use load balancers. HealthCheckGracePeriodSeconds *int `pulumi:"healthCheckGracePeriodSeconds"` @@ -420,6 +422,7 @@ type ServiceState struct { // Enable to delete a service even if it wasn't scaled down to zero tasks. It's only necessary to use this if the service uses the `REPLICA` scheduling strategy. ForceDelete pulumi.BoolPtrInput // Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `orderedPlacementStrategy` and `placementConstraints` updates. + // When using the forceNewDeployment property you also need to configure the triggers property. ForceNewDeployment pulumi.BoolPtrInput // Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Only valid for services configured to use load balancers. HealthCheckGracePeriodSeconds pulumi.IntPtrInput @@ -493,6 +496,7 @@ type serviceArgs struct { // Enable to delete a service even if it wasn't scaled down to zero tasks. It's only necessary to use this if the service uses the `REPLICA` scheduling strategy. ForceDelete *bool `pulumi:"forceDelete"` // Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `orderedPlacementStrategy` and `placementConstraints` updates. + // When using the forceNewDeployment property you also need to configure the triggers property. ForceNewDeployment *bool `pulumi:"forceNewDeployment"` // Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Only valid for services configured to use load balancers. HealthCheckGracePeriodSeconds *int `pulumi:"healthCheckGracePeriodSeconds"` @@ -559,6 +563,7 @@ type ServiceArgs struct { // Enable to delete a service even if it wasn't scaled down to zero tasks. It's only necessary to use this if the service uses the `REPLICA` scheduling strategy. ForceDelete pulumi.BoolPtrInput // Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `orderedPlacementStrategy` and `placementConstraints` updates. + // When using the forceNewDeployment property you also need to configure the triggers property. ForceNewDeployment pulumi.BoolPtrInput // Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Only valid for services configured to use load balancers. HealthCheckGracePeriodSeconds pulumi.IntPtrInput @@ -743,6 +748,7 @@ func (o ServiceOutput) ForceDelete() pulumi.BoolPtrOutput { } // Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `orderedPlacementStrategy` and `placementConstraints` updates. +// When using the forceNewDeployment property you also need to configure the triggers property. func (o ServiceOutput) ForceNewDeployment() pulumi.BoolPtrOutput { return o.ApplyT(func(v *Service) pulumi.BoolPtrOutput { return v.ForceNewDeployment }).(pulumi.BoolPtrOutput) } diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecs/Service.java b/sdk/java/src/main/java/com/pulumi/aws/ecs/Service.java index a0e56ca774..cf19d3723e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecs/Service.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecs/Service.java @@ -456,6 +456,7 @@ public Output> forceDelete() { } /** * Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates. + * When using the forceNewDeployment property you also need to configure the triggers property. * */ @Export(name="forceNewDeployment", refs={Boolean.class}, tree="[0]") @@ -463,6 +464,7 @@ public Output> forceDelete() { /** * @return Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates. + * When using the forceNewDeployment property you also need to configure the triggers property. * */ public Output> forceNewDeployment() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecs/ServiceArgs.java b/sdk/java/src/main/java/com/pulumi/aws/ecs/ServiceArgs.java index 41a2660238..1e0c6e4464 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecs/ServiceArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecs/ServiceArgs.java @@ -197,6 +197,7 @@ public Optional> forceDelete() { /** * Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates. + * When using the forceNewDeployment property you also need to configure the triggers property. * */ @Import(name="forceNewDeployment") @@ -204,6 +205,7 @@ public Optional> forceDelete() { /** * @return Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates. + * When using the forceNewDeployment property you also need to configure the triggers property. * */ public Optional> forceNewDeployment() { @@ -780,6 +782,7 @@ public Builder forceDelete(Boolean forceDelete) { /** * @param forceNewDeployment Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates. + * When using the forceNewDeployment property you also need to configure the triggers property. * * @return builder * @@ -791,6 +794,7 @@ public Builder forceNewDeployment(@Nullable Output forceNewDeployment) /** * @param forceNewDeployment Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates. + * When using the forceNewDeployment property you also need to configure the triggers property. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/ecs/inputs/ServiceState.java b/sdk/java/src/main/java/com/pulumi/aws/ecs/inputs/ServiceState.java index 58f660de87..fd4470b03f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ecs/inputs/ServiceState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ecs/inputs/ServiceState.java @@ -197,6 +197,7 @@ public Optional> forceDelete() { /** * Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates. + * When using the forceNewDeployment property you also need to configure the triggers property. * */ @Import(name="forceNewDeployment") @@ -204,6 +205,7 @@ public Optional> forceDelete() { /** * @return Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates. + * When using the forceNewDeployment property you also need to configure the triggers property. * */ public Optional> forceNewDeployment() { @@ -804,6 +806,7 @@ public Builder forceDelete(Boolean forceDelete) { /** * @param forceNewDeployment Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates. + * When using the forceNewDeployment property you also need to configure the triggers property. * * @return builder * @@ -815,6 +818,7 @@ public Builder forceNewDeployment(@Nullable Output forceNewDeployment) /** * @param forceNewDeployment Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates. + * When using the forceNewDeployment property you also need to configure the triggers property. * * @return builder * diff --git a/sdk/nodejs/ecs/service.ts b/sdk/nodejs/ecs/service.ts index c83294ebf1..42bcd58e37 100644 --- a/sdk/nodejs/ecs/service.ts +++ b/sdk/nodejs/ecs/service.ts @@ -199,6 +199,7 @@ export class Service extends pulumi.CustomResource { public readonly forceDelete!: pulumi.Output; /** * Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `orderedPlacementStrategy` and `placementConstraints` updates. + * When using the forceNewDeployment property you also need to configure the triggers property. */ public readonly forceNewDeployment!: pulumi.Output; /** @@ -415,6 +416,7 @@ export interface ServiceState { forceDelete?: pulumi.Input; /** * Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `orderedPlacementStrategy` and `placementConstraints` updates. + * When using the forceNewDeployment property you also need to configure the triggers property. */ forceNewDeployment?: pulumi.Input; /** @@ -549,6 +551,7 @@ export interface ServiceArgs { forceDelete?: pulumi.Input; /** * Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `orderedPlacementStrategy` and `placementConstraints` updates. + * When using the forceNewDeployment property you also need to configure the triggers property. */ forceNewDeployment?: pulumi.Input; /** diff --git a/sdk/python/pulumi_aws/ecs/service.py b/sdk/python/pulumi_aws/ecs/service.py index ba2ef411af..820ed99717 100644 --- a/sdk/python/pulumi_aws/ecs/service.py +++ b/sdk/python/pulumi_aws/ecs/service.py @@ -65,6 +65,7 @@ def __init__(__self__, *, :param pulumi.Input[bool] enable_execute_command: Whether to enable Amazon ECS Exec for the tasks within the service. :param pulumi.Input[bool] force_delete: Enable to delete a service even if it wasn't scaled down to zero tasks. It's only necessary to use this if the service uses the `REPLICA` scheduling strategy. :param pulumi.Input[bool] force_new_deployment: Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates. + When using the forceNewDeployment property you also need to configure the triggers property. :param pulumi.Input[int] health_check_grace_period_seconds: Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Only valid for services configured to use load balancers. :param pulumi.Input[str] iam_role: ARN of the IAM role that allows Amazon ECS to make calls to your load balancer on your behalf. This parameter is required if you are using a load balancer with your service, but only if your task definition does not use the `awsvpc` network mode. If using `awsvpc` network mode, do not specify this role. If your account has already created the Amazon ECS service-linked role, that role is used by default for your service unless you specify a role here. :param pulumi.Input[str] launch_type: Launch type on which to run your service. The valid values are `EC2`, `FARGATE`, and `EXTERNAL`. Defaults to `EC2`. Conflicts with `capacity_provider_strategy`. @@ -284,6 +285,7 @@ def force_delete(self, value: Optional[pulumi.Input[bool]]): def force_new_deployment(self) -> Optional[pulumi.Input[bool]]: """ Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates. + When using the forceNewDeployment property you also need to configure the triggers property. """ return pulumi.get(self, "force_new_deployment") @@ -558,6 +560,7 @@ def __init__(__self__, *, :param pulumi.Input[bool] enable_execute_command: Whether to enable Amazon ECS Exec for the tasks within the service. :param pulumi.Input[bool] force_delete: Enable to delete a service even if it wasn't scaled down to zero tasks. It's only necessary to use this if the service uses the `REPLICA` scheduling strategy. :param pulumi.Input[bool] force_new_deployment: Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates. + When using the forceNewDeployment property you also need to configure the triggers property. :param pulumi.Input[int] health_check_grace_period_seconds: Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Only valid for services configured to use load balancers. :param pulumi.Input[str] iam_role: ARN of the IAM role that allows Amazon ECS to make calls to your load balancer on your behalf. This parameter is required if you are using a load balancer with your service, but only if your task definition does not use the `awsvpc` network mode. If using `awsvpc` network mode, do not specify this role. If your account has already created the Amazon ECS service-linked role, that role is used by default for your service unless you specify a role here. :param pulumi.Input[str] launch_type: Launch type on which to run your service. The valid values are `EC2`, `FARGATE`, and `EXTERNAL`. Defaults to `EC2`. Conflicts with `capacity_provider_strategy`. @@ -783,6 +786,7 @@ def force_delete(self, value: Optional[pulumi.Input[bool]]): def force_new_deployment(self) -> Optional[pulumi.Input[bool]]: """ Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates. + When using the forceNewDeployment property you also need to configure the triggers property. """ return pulumi.get(self, "force_new_deployment") @@ -1184,6 +1188,7 @@ def __init__(__self__, :param pulumi.Input[bool] enable_execute_command: Whether to enable Amazon ECS Exec for the tasks within the service. :param pulumi.Input[bool] force_delete: Enable to delete a service even if it wasn't scaled down to zero tasks. It's only necessary to use this if the service uses the `REPLICA` scheduling strategy. :param pulumi.Input[bool] force_new_deployment: Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates. + When using the forceNewDeployment property you also need to configure the triggers property. :param pulumi.Input[int] health_check_grace_period_seconds: Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Only valid for services configured to use load balancers. :param pulumi.Input[str] iam_role: ARN of the IAM role that allows Amazon ECS to make calls to your load balancer on your behalf. This parameter is required if you are using a load balancer with your service, but only if your task definition does not use the `awsvpc` network mode. If using `awsvpc` network mode, do not specify this role. If your account has already created the Amazon ECS service-linked role, that role is used by default for your service unless you specify a role here. :param pulumi.Input[str] launch_type: Launch type on which to run your service. The valid values are `EC2`, `FARGATE`, and `EXTERNAL`. Defaults to `EC2`. Conflicts with `capacity_provider_strategy`. @@ -1468,6 +1473,7 @@ def get(resource_name: str, :param pulumi.Input[bool] enable_execute_command: Whether to enable Amazon ECS Exec for the tasks within the service. :param pulumi.Input[bool] force_delete: Enable to delete a service even if it wasn't scaled down to zero tasks. It's only necessary to use this if the service uses the `REPLICA` scheduling strategy. :param pulumi.Input[bool] force_new_deployment: Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates. + When using the forceNewDeployment property you also need to configure the triggers property. :param pulumi.Input[int] health_check_grace_period_seconds: Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Only valid for services configured to use load balancers. :param pulumi.Input[str] iam_role: ARN of the IAM role that allows Amazon ECS to make calls to your load balancer on your behalf. This parameter is required if you are using a load balancer with your service, but only if your task definition does not use the `awsvpc` network mode. If using `awsvpc` network mode, do not specify this role. If your account has already created the Amazon ECS service-linked role, that role is used by default for your service unless you specify a role here. :param pulumi.Input[str] launch_type: Launch type on which to run your service. The valid values are `EC2`, `FARGATE`, and `EXTERNAL`. Defaults to `EC2`. Conflicts with `capacity_provider_strategy`. @@ -1620,6 +1626,7 @@ def force_delete(self) -> pulumi.Output[Optional[bool]]: def force_new_deployment(self) -> pulumi.Output[Optional[bool]]: """ Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `ordered_placement_strategy` and `placement_constraints` updates. + When using the forceNewDeployment property you also need to configure the triggers property. """ return pulumi.get(self, "force_new_deployment")