diff --git a/provider/cmd/pulumi-resource-aws/schema.json b/provider/cmd/pulumi-resource-aws/schema.json index 3258f2f22eb..a250cfa35c5 100644 --- a/provider/cmd/pulumi-resource-aws/schema.json +++ b/provider/cmd/pulumi-resource-aws/schema.json @@ -186944,7 +186944,7 @@ }, "name": { "type": "string", - "description": "The name for the public key. By default generated by this provider.\n" + "description": "The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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" }, "namePrefix": { "type": "string", @@ -186970,7 +186970,7 @@ }, "name": { "type": "string", - "description": "The name for the public key. By default generated by this provider.\n", + "description": "The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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", "willReplaceOnChanges": true }, "namePrefix": { @@ -187004,7 +187004,7 @@ }, "name": { "type": "string", - "description": "The name for the public key. By default generated by this provider.\n", + "description": "The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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", "willReplaceOnChanges": true }, "namePrefix": { @@ -236445,7 +236445,7 @@ "additionalProperties": { "type": "string" }, - "description": "Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `\"plantimestamp()\"`. See example above.\n" + "description": "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" }, "volumeConfiguration": { "$ref": "#/types/aws:ecs/ServiceVolumeConfiguration:ServiceVolumeConfiguration", @@ -236595,7 +236595,7 @@ "additionalProperties": { "type": "string" }, - "description": "Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `\"plantimestamp()\"`. See example above.\n" + "description": "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" }, "volumeConfiguration": { "$ref": "#/types/aws:ecs/ServiceVolumeConfiguration:ServiceVolumeConfiguration", @@ -236746,7 +236746,7 @@ "additionalProperties": { "type": "string" }, - "description": "Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `\"plantimestamp()\"`. See example above.\n" + "description": "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" }, "volumeConfiguration": { "$ref": "#/types/aws:ecs/ServiceVolumeConfiguration:ServiceVolumeConfiguration", diff --git a/provider/doc_edits.go b/provider/doc_edits.go index bdd70ded031..aa1f798b917 100644 --- a/provider/doc_edits.go +++ b/provider/doc_edits.go @@ -26,6 +26,8 @@ import ( func editRules(defaults []tfbridge.DocsEdit) []tfbridge.DocsEdit { return append(defaults, + fixUpCloudFrontPublicKey, + fixUpEcsServiceName, // This fixes up strings such as: // // name = "terraform-kinesis-firehose-os", @@ -60,6 +62,31 @@ func simpleReplace(from, to string) tfbridge.DocsEdit { } } +func targetedSimpleReplace(filePath, from, to string) tfbridge.DocsEdit { + fromB, toB := []byte(from), []byte(to) + return tfbridge.DocsEdit{ + Path: filePath, + Edit: func(_ string, content []byte) ([]byte, error) { + return bytes.ReplaceAll(content, fromB, toB), nil + }, + } +} + +var fixUpCloudFrontPublicKey = targetedSimpleReplace("cloudfront_public_key.html.markdown", + "* `name` - (Optional) The name for the public key. By default generated by this provider.", + "* `name` - (Optional) The name for the public key. By default generated by this provider. "+ + "Note: Do not set if using the key's id in another resource (e.g. KeyGroup) "+ + "since it will result in a dependency error from AWS. "+ + "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", + "* `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") + func reReplace(from string, to string) tfbridge.DocsEdit { fromR, toB := regexp.MustCompile(from), []byte(to) return tfbridge.DocsEdit{ diff --git a/sdk/dotnet/CloudFront/PublicKey.cs b/sdk/dotnet/CloudFront/PublicKey.cs index 040fa8d753f..4995a07af3d 100644 --- a/sdk/dotnet/CloudFront/PublicKey.cs +++ b/sdk/dotnet/CloudFront/PublicKey.cs @@ -72,7 +72,7 @@ public partial class PublicKey : global::Pulumi.CustomResource public Output Etag { get; private set; } = null!; /// - /// The name for the public key. By default generated by this provider. + /// The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. /// [Output("name")] public Output Name { get; private set; } = null!; @@ -144,7 +144,7 @@ public sealed class PublicKeyArgs : global::Pulumi.ResourceArgs public Input EncodedKey { get; set; } = null!; /// - /// The name for the public key. By default generated by this provider. + /// The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. /// [Input("name")] public Input? Name { get; set; } @@ -190,7 +190,7 @@ public sealed class PublicKeyState : global::Pulumi.ResourceArgs public Input? Etag { get; set; } /// - /// The name for the public key. By default generated by this provider. + /// The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. /// [Input("name")] public Input? Name { get; set; } diff --git a/sdk/dotnet/Ecs/Service.cs b/sdk/dotnet/Ecs/Service.cs index d506a7de9db..a41be9d1f71 100644 --- a/sdk/dotnet/Ecs/Service.cs +++ b/sdk/dotnet/Ecs/Service.cs @@ -361,7 +361,7 @@ public partial class Service : global::Pulumi.CustomResource public Output TaskDefinition { get; private set; } = null!; /// - /// Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + /// 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. /// [Output("triggers")] public Output> Triggers { get; private set; } = null!; @@ -616,7 +616,7 @@ public InputMap Tags private InputMap? _triggers; /// - /// Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + /// 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. /// public InputMap Triggers { @@ -849,7 +849,7 @@ public InputMap TagsAll private InputMap? _triggers; /// - /// Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + /// 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. /// public InputMap Triggers { diff --git a/sdk/go/aws/cloudfront/publicKey.go b/sdk/go/aws/cloudfront/publicKey.go index d666bf30cad..b37f43cb823 100644 --- a/sdk/go/aws/cloudfront/publicKey.go +++ b/sdk/go/aws/cloudfront/publicKey.go @@ -67,7 +67,7 @@ type PublicKey struct { EncodedKey pulumi.StringOutput `pulumi:"encodedKey"` // The current version of the public key. For example: `E2QWRUHAPOMQZL`. Etag pulumi.StringOutput `pulumi:"etag"` - // The name for the public key. By default generated by this provider. + // The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. Name pulumi.StringOutput `pulumi:"name"` // The name for the public key. Conflicts with `name`. // @@ -116,7 +116,7 @@ type publicKeyState struct { EncodedKey *string `pulumi:"encodedKey"` // The current version of the public key. For example: `E2QWRUHAPOMQZL`. Etag *string `pulumi:"etag"` - // The name for the public key. By default generated by this provider. + // The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. Name *string `pulumi:"name"` // The name for the public key. Conflicts with `name`. // @@ -133,7 +133,7 @@ type PublicKeyState struct { EncodedKey pulumi.StringPtrInput // The current version of the public key. For example: `E2QWRUHAPOMQZL`. Etag pulumi.StringPtrInput - // The name for the public key. By default generated by this provider. + // The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. Name pulumi.StringPtrInput // The name for the public key. Conflicts with `name`. // @@ -150,7 +150,7 @@ type publicKeyArgs struct { Comment *string `pulumi:"comment"` // The encoded public key that you want to add to CloudFront to use with features like field-level encryption. EncodedKey string `pulumi:"encodedKey"` - // The name for the public key. By default generated by this provider. + // The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. Name *string `pulumi:"name"` // The name for the public key. Conflicts with `name`. // @@ -164,7 +164,7 @@ type PublicKeyArgs struct { Comment pulumi.StringPtrInput // The encoded public key that you want to add to CloudFront to use with features like field-level encryption. EncodedKey pulumi.StringInput - // The name for the public key. By default generated by this provider. + // The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. Name pulumi.StringPtrInput // The name for the public key. Conflicts with `name`. // @@ -279,7 +279,7 @@ func (o PublicKeyOutput) Etag() pulumi.StringOutput { return o.ApplyT(func(v *PublicKey) pulumi.StringOutput { return v.Etag }).(pulumi.StringOutput) } -// The name for the public key. By default generated by this provider. +// The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. func (o PublicKeyOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *PublicKey) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } diff --git a/sdk/go/aws/ecs/service.go b/sdk/go/aws/ecs/service.go index c305dfc4136..c8b00e3adad 100644 --- a/sdk/go/aws/ecs/service.go +++ b/sdk/go/aws/ecs/service.go @@ -288,7 +288,7 @@ type Service struct { TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // Family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. Required unless using the `EXTERNAL` deployment controller. If a revision is not specified, the latest `ACTIVE` revision is used. TaskDefinition pulumi.StringPtrOutput `pulumi:"taskDefinition"` - // Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + // 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. Triggers pulumi.StringMapOutput `pulumi:"triggers"` // Configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume. See below. VolumeConfiguration ServiceVolumeConfigurationPtrOutput `pulumi:"volumeConfiguration"` @@ -384,7 +384,7 @@ type serviceState struct { TagsAll map[string]string `pulumi:"tagsAll"` // Family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. Required unless using the `EXTERNAL` deployment controller. If a revision is not specified, the latest `ACTIVE` revision is used. TaskDefinition *string `pulumi:"taskDefinition"` - // Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + // 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. Triggers map[string]string `pulumi:"triggers"` // Configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume. See below. VolumeConfiguration *ServiceVolumeConfiguration `pulumi:"volumeConfiguration"` @@ -451,7 +451,7 @@ type ServiceState struct { TagsAll pulumi.StringMapInput // Family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. Required unless using the `EXTERNAL` deployment controller. If a revision is not specified, the latest `ACTIVE` revision is used. TaskDefinition pulumi.StringPtrInput - // Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + // 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. Triggers pulumi.StringMapInput // Configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume. See below. VolumeConfiguration ServiceVolumeConfigurationPtrInput @@ -518,7 +518,7 @@ type serviceArgs struct { Tags map[string]string `pulumi:"tags"` // Family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. Required unless using the `EXTERNAL` deployment controller. If a revision is not specified, the latest `ACTIVE` revision is used. TaskDefinition *string `pulumi:"taskDefinition"` - // Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + // 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. Triggers map[string]string `pulumi:"triggers"` // Configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume. See below. VolumeConfiguration *ServiceVolumeConfiguration `pulumi:"volumeConfiguration"` @@ -582,7 +582,7 @@ type ServiceArgs struct { Tags pulumi.StringMapInput // Family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. Required unless using the `EXTERNAL` deployment controller. If a revision is not specified, the latest `ACTIVE` revision is used. TaskDefinition pulumi.StringPtrInput - // Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + // 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. Triggers pulumi.StringMapInput // Configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume. See below. VolumeConfiguration ServiceVolumeConfigurationPtrInput @@ -816,7 +816,7 @@ func (o ServiceOutput) TaskDefinition() pulumi.StringPtrOutput { return o.ApplyT(func(v *Service) pulumi.StringPtrOutput { return v.TaskDefinition }).(pulumi.StringPtrOutput) } -// Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. +// 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. func (o ServiceOutput) Triggers() pulumi.StringMapOutput { return o.ApplyT(func(v *Service) pulumi.StringMapOutput { return v.Triggers }).(pulumi.StringMapOutput) } diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/PublicKey.java b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/PublicKey.java index d8b0d3c6948..e6c5fa4ad2a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/PublicKey.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/PublicKey.java @@ -124,14 +124,14 @@ public Output etag() { return this.etag; } /** - * The name for the public key. By default generated by this provider. + * The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** - * @return The name for the public key. By default generated by this provider. + * @return The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. * */ public Output name() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/PublicKeyArgs.java b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/PublicKeyArgs.java index 768ac6ac1ea..cfe2d75ce2a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/PublicKeyArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/PublicKeyArgs.java @@ -47,14 +47,14 @@ public Output encodedKey() { } /** - * The name for the public key. By default generated by this provider. + * The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. * */ @Import(name="name") private @Nullable Output name; /** - * @return The name for the public key. By default generated by this provider. + * @return The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. * */ public Optional> name() { @@ -150,7 +150,7 @@ public Builder encodedKey(String encodedKey) { } /** - * @param name The name for the public key. By default generated by this provider. + * @param name The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. * * @return builder * @@ -161,7 +161,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The name for the public key. By default generated by this provider. + * @param name The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/inputs/PublicKeyState.java b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/inputs/PublicKeyState.java index a56b2e9217f..64508bd6169 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/inputs/PublicKeyState.java +++ b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/inputs/PublicKeyState.java @@ -76,14 +76,14 @@ public Optional> etag() { } /** - * The name for the public key. By default generated by this provider. + * The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. * */ @Import(name="name") private @Nullable Output name; /** - * @return The name for the public key. By default generated by this provider. + * @return The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. * */ public Optional> name() { @@ -223,7 +223,7 @@ public Builder etag(String etag) { } /** - * @param name The name for the public key. By default generated by this provider. + * @param name The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. * * @return builder * @@ -234,7 +234,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The name for the public key. By default generated by this provider. + * @param name The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. * * @return builder * 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 57ba1b740f5..df1d1feb9e9 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 @@ -687,14 +687,14 @@ public Output> taskDefinition() { return Codegen.optional(this.taskDefinition); } /** - * Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + * 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. * */ @Export(name="triggers", refs={Map.class,String.class}, tree="[0,1,1]") private Output> triggers; /** - * @return Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + * @return 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. * */ public Output> triggers() { 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 a3d4f0c7ea0..c32e707277e 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 @@ -425,14 +425,14 @@ public Optional> taskDefinition() { } /** - * Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + * 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. * */ @Import(name="triggers") private @Nullable Output> triggers; /** - * @return Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + * @return 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. * */ public Optional>> triggers() { @@ -1112,7 +1112,7 @@ public Builder taskDefinition(String taskDefinition) { } /** - * @param triggers Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + * @param triggers 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. * * @return builder * @@ -1123,7 +1123,7 @@ public Builder triggers(@Nullable Output> triggers) { } /** - * @param triggers Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + * @param triggers 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. * * @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 22027ba2dfa..fa79faabe1c 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 @@ -448,14 +448,14 @@ public Optional> taskDefinition() { } /** - * Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + * 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. * */ @Import(name="triggers") private @Nullable Output> triggers; /** - * @return Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + * @return 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. * */ public Optional>> triggers() { @@ -1165,7 +1165,7 @@ public Builder taskDefinition(String taskDefinition) { } /** - * @param triggers Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + * @param triggers 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. * * @return builder * @@ -1176,7 +1176,7 @@ public Builder triggers(@Nullable Output> triggers) { } /** - * @param triggers Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + * @param triggers 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. * * @return builder * diff --git a/sdk/nodejs/cloudfront/publicKey.ts b/sdk/nodejs/cloudfront/publicKey.ts index 182216ae871..6a6bd7ba4fc 100644 --- a/sdk/nodejs/cloudfront/publicKey.ts +++ b/sdk/nodejs/cloudfront/publicKey.ts @@ -76,7 +76,7 @@ export class PublicKey extends pulumi.CustomResource { */ public /*out*/ readonly etag!: pulumi.Output; /** - * The name for the public key. By default generated by this provider. + * The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. */ public readonly name!: pulumi.Output; /** @@ -143,7 +143,7 @@ export interface PublicKeyState { */ etag?: pulumi.Input; /** - * The name for the public key. By default generated by this provider. + * The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. */ name?: pulumi.Input; /** @@ -167,7 +167,7 @@ export interface PublicKeyArgs { */ encodedKey: pulumi.Input; /** - * The name for the public key. By default generated by this provider. + * The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. */ name?: pulumi.Input; /** diff --git a/sdk/nodejs/ecs/service.ts b/sdk/nodejs/ecs/service.ts index 64bfc191153..4a307c69102 100644 --- a/sdk/nodejs/ecs/service.ts +++ b/sdk/nodejs/ecs/service.ts @@ -266,7 +266,7 @@ export class Service extends pulumi.CustomResource { */ public readonly taskDefinition!: pulumi.Output; /** - * Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + * 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. */ public readonly triggers!: pulumi.Output<{[key: string]: string}>; /** @@ -476,7 +476,7 @@ export interface ServiceState { */ taskDefinition?: pulumi.Input; /** - * Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + * 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. */ triggers?: pulumi.Input<{[key: string]: pulumi.Input}>; /** @@ -600,7 +600,7 @@ export interface ServiceArgs { */ taskDefinition?: pulumi.Input; /** - * Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + * 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. */ triggers?: pulumi.Input<{[key: string]: pulumi.Input}>; /** diff --git a/sdk/python/pulumi_aws/cloudfront/public_key.py b/sdk/python/pulumi_aws/cloudfront/public_key.py index 803f4be28c5..1c0a3562bac 100644 --- a/sdk/python/pulumi_aws/cloudfront/public_key.py +++ b/sdk/python/pulumi_aws/cloudfront/public_key.py @@ -22,7 +22,7 @@ def __init__(__self__, *, The set of arguments for constructing a PublicKey resource. :param pulumi.Input[str] encoded_key: The encoded public key that you want to add to CloudFront to use with features like field-level encryption. :param pulumi.Input[str] comment: An optional comment about the public key. - :param pulumi.Input[str] name: The name for the public key. By default generated by this provider. + :param pulumi.Input[str] name: The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. :param pulumi.Input[str] name_prefix: The name for the public key. Conflicts with `name`. **NOTE:** When setting `encoded_key` value, there needs a newline at the end of string. Otherwise, multiple runs of pulumi will want to recreate the `cloudfront.PublicKey` resource. @@ -63,7 +63,7 @@ def comment(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The name for the public key. By default generated by this provider. + The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. """ return pulumi.get(self, "name") @@ -101,7 +101,7 @@ def __init__(__self__, *, :param pulumi.Input[str] comment: An optional comment about the public key. :param pulumi.Input[str] encoded_key: The encoded public key that you want to add to CloudFront to use with features like field-level encryption. :param pulumi.Input[str] etag: The current version of the public key. For example: `E2QWRUHAPOMQZL`. - :param pulumi.Input[str] name: The name for the public key. By default generated by this provider. + :param pulumi.Input[str] name: The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. :param pulumi.Input[str] name_prefix: The name for the public key. Conflicts with `name`. **NOTE:** When setting `encoded_key` value, there needs a newline at the end of string. Otherwise, multiple runs of pulumi will want to recreate the `cloudfront.PublicKey` resource. @@ -171,7 +171,7 @@ def etag(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The name for the public key. By default generated by this provider. + The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. """ return pulumi.get(self, "name") @@ -232,7 +232,7 @@ def __init__(__self__, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] comment: An optional comment about the public key. :param pulumi.Input[str] encoded_key: The encoded public key that you want to add to CloudFront to use with features like field-level encryption. - :param pulumi.Input[str] name: The name for the public key. By default generated by this provider. + :param pulumi.Input[str] name: The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. :param pulumi.Input[str] name_prefix: The name for the public key. Conflicts with `name`. **NOTE:** When setting `encoded_key` value, there needs a newline at the end of string. Otherwise, multiple runs of pulumi will want to recreate the `cloudfront.PublicKey` resource. @@ -330,7 +330,7 @@ def get(resource_name: str, :param pulumi.Input[str] comment: An optional comment about the public key. :param pulumi.Input[str] encoded_key: The encoded public key that you want to add to CloudFront to use with features like field-level encryption. :param pulumi.Input[str] etag: The current version of the public key. For example: `E2QWRUHAPOMQZL`. - :param pulumi.Input[str] name: The name for the public key. By default generated by this provider. + :param pulumi.Input[str] name: The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. :param pulumi.Input[str] name_prefix: The name for the public key. Conflicts with `name`. **NOTE:** When setting `encoded_key` value, there needs a newline at the end of string. Otherwise, multiple runs of pulumi will want to recreate the `cloudfront.PublicKey` resource. @@ -383,7 +383,7 @@ def etag(self) -> pulumi.Output[str]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - The name for the public key. By default generated by this provider. + The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. 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. """ return pulumi.get(self, "name") diff --git a/sdk/python/pulumi_aws/ecs/service.py b/sdk/python/pulumi_aws/ecs/service.py index c47baed61c0..eb0a226162f 100644 --- a/sdk/python/pulumi_aws/ecs/service.py +++ b/sdk/python/pulumi_aws/ecs/service.py @@ -75,7 +75,7 @@ def __init__(__self__, *, :param pulumi.Input['ServiceServiceRegistriesArgs'] service_registries: Service discovery registries for the service. The maximum number of `service_registries` blocks is `1`. See below. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. :param pulumi.Input[str] task_definition: Family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. Required unless using the `EXTERNAL` deployment controller. If a revision is not specified, the latest `ACTIVE` revision is used. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] triggers: Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] triggers: 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. :param pulumi.Input['ServiceVolumeConfigurationArgs'] volume_configuration: Configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume. See below. :param pulumi.Input[bool] wait_for_steady_state: If `true`, this provider will wait for the service to reach a steady state (like [`aws ecs wait services-stable`](https://docs.aws.amazon.com/cli/latest/reference/ecs/wait/services-stable.html)) before continuing. Default `false`. """ @@ -456,7 +456,7 @@ def task_definition(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + 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. """ return pulumi.get(self, "triggers") @@ -553,7 +553,7 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags_all: A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. :param pulumi.Input[str] task_definition: Family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. Required unless using the `EXTERNAL` deployment controller. If a revision is not specified, the latest `ACTIVE` revision is used. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] triggers: Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] triggers: 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. :param pulumi.Input['ServiceVolumeConfigurationArgs'] volume_configuration: Configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume. See below. :param pulumi.Input[bool] wait_for_steady_state: If `true`, this provider will wait for the service to reach a steady state (like [`aws ecs wait services-stable`](https://docs.aws.amazon.com/cli/latest/reference/ecs/wait/services-stable.html)) before continuing. Default `false`. """ @@ -954,7 +954,7 @@ def task_definition(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def triggers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + 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. """ return pulumi.get(self, "triggers") @@ -1164,7 +1164,7 @@ def __init__(__self__, :param pulumi.Input[pulumi.InputType['ServiceServiceRegistriesArgs']] service_registries: Service discovery registries for the service. The maximum number of `service_registries` blocks is `1`. See below. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. :param pulumi.Input[str] task_definition: Family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. Required unless using the `EXTERNAL` deployment controller. If a revision is not specified, the latest `ACTIVE` revision is used. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] triggers: Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] triggers: 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. :param pulumi.Input[pulumi.InputType['ServiceVolumeConfigurationArgs']] volume_configuration: Configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume. See below. :param pulumi.Input[bool] wait_for_steady_state: If `true`, this provider will wait for the service to reach a steady state (like [`aws ecs wait services-stable`](https://docs.aws.amazon.com/cli/latest/reference/ecs/wait/services-stable.html)) before continuing. Default `false`. """ @@ -1445,7 +1445,7 @@ def get(resource_name: str, :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags_all: A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block. :param pulumi.Input[str] task_definition: Family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. Required unless using the `EXTERNAL` deployment controller. If a revision is not specified, the latest `ACTIVE` revision is used. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] triggers: Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] triggers: 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. :param pulumi.Input[pulumi.InputType['ServiceVolumeConfigurationArgs']] volume_configuration: Configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume. See below. :param pulumi.Input[bool] wait_for_steady_state: If `true`, this provider will wait for the service to reach a steady state (like [`aws ecs wait services-stable`](https://docs.aws.amazon.com/cli/latest/reference/ecs/wait/services-stable.html)) before continuing. Default `false`. """ @@ -1710,7 +1710,7 @@ def task_definition(self) -> pulumi.Output[Optional[str]]: @pulumi.getter def triggers(self) -> pulumi.Output[Mapping[str, str]]: """ - Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. See example above. + 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. """ return pulumi.get(self, "triggers")