Skip to content

Commit

Permalink
Upgrade AWS provider to v6.47.0 (#1353)
Browse files Browse the repository at this point in the history
Routine dependency upgrade: upgrade AWS provider to v6.47.0.

Fixes #1347
  • Loading branch information
t0yv0 authored Aug 6, 2024
1 parent 6fb976e commit 6942b02
Show file tree
Hide file tree
Showing 58 changed files with 2,761 additions and 863 deletions.
2 changes: 1 addition & 1 deletion awsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"//": "Pulumi sub-provider dependencies must be pinned at an exact version because we extract this value to generate the correct dependency in the schema",
"dependencies": {
"@pulumi/aws": "6.37.1",
"@pulumi/aws": "6.47.0",
"@pulumi/docker": "4.5.1",
"@pulumi/pulumi": "3.127.0",
"@types/aws-lambda": "^8.10.23",
Expand Down
6 changes: 6 additions & 0 deletions awsx/schema-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ export interface EC2ServiceArgs {
readonly taskDefinition?: pulumi.Input<string>;
readonly taskDefinitionArgs?: EC2ServiceTaskDefinitionInputs;
readonly triggers?: pulumi.Input<Record<string, pulumi.Input<string>>>;
readonly volumeConfiguration?: pulumi.Input<aws.types.input.ecs.ServiceVolumeConfiguration>;
}
export abstract class EC2TaskDefinition<TData = any> extends (pulumi.ComponentResource)<TData> {
public executionRole?: aws.iam.Role | pulumi.Output<aws.iam.Role>;
Expand Down Expand Up @@ -239,6 +240,7 @@ export interface FargateServiceArgs {
readonly taskDefinition?: pulumi.Input<string>;
readonly taskDefinitionArgs?: FargateServiceTaskDefinitionInputs;
readonly triggers?: pulumi.Input<Record<string, pulumi.Input<string>>>;
readonly volumeConfiguration?: pulumi.Input<aws.types.input.ecs.ServiceVolumeConfiguration>;
}
export abstract class FargateTaskDefinition<TData = any> extends (pulumi.ComponentResource)<TData> {
public executionRole?: aws.iam.Role | pulumi.Output<aws.iam.Role>;
Expand Down Expand Up @@ -627,6 +629,7 @@ export interface VpcEndpointSpecInputs {
readonly routeTableIds?: pulumi.Input<pulumi.Input<string>[]>;
readonly securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
readonly serviceName: string;
readonly subnetConfigurations?: pulumi.Input<pulumi.Input<aws.types.input.ec2.VpcEndpointSubnetConfiguration>[]>;
readonly subnetIds?: pulumi.Input<pulumi.Input<string>[]>;
readonly tags?: pulumi.Input<Record<string, pulumi.Input<string>>>;
readonly vpcEndpointType?: pulumi.Input<string>;
Expand All @@ -640,6 +643,7 @@ export interface VpcEndpointSpecOutputs {
readonly routeTableIds?: pulumi.Output<string[]>;
readonly securityGroupIds?: pulumi.Output<string[]>;
readonly serviceName: string;
readonly subnetConfigurations?: pulumi.Output<aws.types.output.ec2.VpcEndpointSubnetConfiguration[]>;
readonly subnetIds?: pulumi.Output<string[]>;
readonly tags?: pulumi.Output<Record<string, string>>;
readonly vpcEndpointType?: pulumi.Output<string>;
Expand Down Expand Up @@ -1088,6 +1092,7 @@ export interface TargetGroupInputs {
readonly stickiness?: pulumi.Input<aws.types.input.lb.TargetGroupStickiness>;
readonly tags?: pulumi.Input<Record<string, pulumi.Input<string>>>;
readonly targetFailovers?: pulumi.Input<pulumi.Input<aws.types.input.lb.TargetGroupTargetFailover>[]>;
readonly targetGroupHealth?: pulumi.Input<aws.types.input.lb.TargetGroupTargetGroupHealth>;
readonly targetHealthStates?: pulumi.Input<pulumi.Input<aws.types.input.lb.TargetGroupTargetHealthState>[]>;
readonly targetType?: pulumi.Input<string>;
readonly vpcId?: pulumi.Input<string>;
Expand All @@ -1112,6 +1117,7 @@ export interface TargetGroupOutputs {
readonly stickiness?: pulumi.Output<aws.types.output.lb.TargetGroupStickiness>;
readonly tags?: pulumi.Output<Record<string, string>>;
readonly targetFailovers?: pulumi.Output<aws.types.output.lb.TargetGroupTargetFailover[]>;
readonly targetGroupHealth?: pulumi.Output<aws.types.output.lb.TargetGroupTargetGroupHealth>;
readonly targetHealthStates?: pulumi.Output<aws.types.output.lb.TargetGroupTargetHealthState[]>;
readonly targetType?: pulumi.Output<string>;
readonly vpcId?: pulumi.Output<string>;
Expand Down
8 changes: 4 additions & 4 deletions awsx/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1656,10 +1656,10 @@
resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570"
integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==

"@pulumi/aws@6.37.1":
version "6.37.1"
resolved "https://registry.yarnpkg.com/@pulumi/aws/-/aws-6.37.1.tgz#98f9f3a719a13e9254a46fb54bfbeab52bb98533"
integrity sha512-vdFq8YsTTGRsl1iU0giuZzMPxpdOV1aWyh+bQH4xqHgOjnEKMo/SU4lIroCL+mnA6GWvnkht9sajaEDoCC4sAw==
"@pulumi/aws@6.47.0":
version "6.47.0"
resolved "https://registry.yarnpkg.com/@pulumi/aws/-/aws-6.47.0.tgz#606d71cc9121bf41bbdf662e3e7c84ae5d33eb27"
integrity sha512-zd3Mh7Hlen9xAW85Prsxbot8Z89Vnel42qCEkYrvFZYYnGPZl0sxuAWgUG54J6AsJ5syPDYNKpl65x3L6YHLSg==
dependencies:
"@pulumi/pulumi" "^3.0.0"
builtin-modules "3.0.0"
Expand Down
329 changes: 174 additions & 155 deletions schema.json

Large diffs are not rendered by default.

60 changes: 36 additions & 24 deletions sdk/dotnet/Awsx/Inputs/BucketArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,26 @@ namespace Pulumi.Awsx.Awsx.Inputs
public sealed class BucketArgs : global::Pulumi.ResourceArgs
{
/// <summary>
/// Sets the accelerate configuration of an existing bucket. Can be `Enabled` or `Suspended`.
/// Sets the accelerate configuration of an existing bucket. Can be `Enabled` or `Suspended`. Cannot be used in `cn-north-1` or `us-gov-west-1`. This provider will only perform drift detection if a configuration value is provided.
/// Use the resource `aws.s3.BucketAccelerateConfigurationV2` instead.
/// </summary>
[Input("accelerationStatus")]
public Input<string>? AccelerationStatus { get; set; }

/// <summary>
/// The [canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) to apply. Valid values are `private`, `public-read`, `public-read-write`, `aws-exec-read`, `authenticated-read`, and `log-delivery-write`. Defaults to `private`. Conflicts with `grant`.
/// The [canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) to apply. Valid values are `private`, `public-read`, `public-read-write`, `aws-exec-read`, `authenticated-read`, and `log-delivery-write`. Defaults to `private`. Conflicts with `grant`. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAclV2` instead.
/// </summary>
[Input("acl")]
public Input<string>? Acl { get; set; }

/// <summary>
/// The ARN of the bucket. Will be of format `arn:aws:s3:::bucketname`.
/// ARN of the bucket. Will be of format `arn:aws:s3:::bucketname`.
/// </summary>
[Input("arn")]
public Input<string>? Arn { get; set; }

/// <summary>
/// The name of the bucket. If omitted, this provider will assign a random, unique name. Must be lowercase and less than or equal to 63 characters in length. A full list of bucket naming rules [may be found here](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html).
/// Name of the bucket. If omitted, the provider will assign a random, unique name. Must be lowercase and less than or equal to 63 characters in length. A full list of bucket naming rules [may be found here](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html). The name must not be in the format `[bucket_name]--[azid]--x-s3`. Use the `aws.s3.DirectoryBucket` resource to manage S3 Express buckets.
/// </summary>
[Input("bucket")]
public Input<string>? BucketName { get; set; }
Expand All @@ -49,7 +50,7 @@ public sealed class BucketArgs : global::Pulumi.ResourceArgs
private InputList<Pulumi.Aws.S3.Inputs.BucketCorsRuleArgs>? _corsRules;

/// <summary>
/// A rule of [Cross-Origin Resource Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html) (documented below).
/// Rule of [Cross-Origin Resource Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html). See CORS rule below for details. This provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketCorsConfigurationV2` instead.
/// </summary>
public InputList<Pulumi.Aws.S3.Inputs.BucketCorsRuleArgs> CorsRules
{
Expand All @@ -58,7 +59,7 @@ public InputList<Pulumi.Aws.S3.Inputs.BucketCorsRuleArgs> CorsRules
}

/// <summary>
/// A boolean that indicates all objects (including any [locked objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html)) should be deleted from the bucket so that the bucket can be destroyed without error. These objects are *not* recoverable.
/// Boolean that indicates all objects (including any [locked objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html)) should be deleted from the bucket *when the bucket is destroyed* so that the bucket can be destroyed without error. These objects are *not* recoverable. This only deletes objects when the bucket is destroyed, *not* when setting this parameter to `true`. Once this parameter is set to `true`, there must be a successful `pulumi up` run before a destroy is required to update this value in the resource state. Without a successful `pulumi up` after this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the bucket or destroying the bucket, this flag will not work. Additionally when importing a bucket, a successful `pulumi up` is required to set this value in state before it will take effect on a destroy operation.
/// </summary>
[Input("forceDestroy")]
public Input<bool>? ForceDestroy { get; set; }
Expand All @@ -67,7 +68,7 @@ public InputList<Pulumi.Aws.S3.Inputs.BucketCorsRuleArgs> CorsRules
private InputList<Pulumi.Aws.S3.Inputs.BucketGrantArgs>? _grants;

/// <summary>
/// An [ACL policy grant](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#sample-acl) (documented below). Conflicts with `acl`.
/// An [ACL policy grant](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#sample-acl). See Grant below for details. Conflicts with `acl`. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAclV2` instead.
/// </summary>
public InputList<Pulumi.Aws.S3.Inputs.BucketGrantArgs> Grants
{
Expand All @@ -76,7 +77,7 @@ public InputList<Pulumi.Aws.S3.Inputs.BucketGrantArgs> Grants
}

/// <summary>
/// The [Route 53 Hosted Zone ID](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_website_region_endpoints) for this bucket's region.
/// [Route 53 Hosted Zone ID](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_website_region_endpoints) for this bucket's region.
/// </summary>
[Input("hostedZoneId")]
public Input<string>? HostedZoneId { get; set; }
Expand All @@ -85,7 +86,8 @@ public InputList<Pulumi.Aws.S3.Inputs.BucketGrantArgs> Grants
private InputList<Pulumi.Aws.S3.Inputs.BucketLifecycleRuleArgs>? _lifecycleRules;

/// <summary>
/// A configuration of [object lifecycle management](http://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html) (documented below).
/// Configuration of [object lifecycle management](http://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html). See Lifecycle Rule below for details. The provider will only perform drift detection if a configuration value is provided.
/// Use the resource `aws.s3.BucketLifecycleConfigurationV2` instead.
/// </summary>
public InputList<Pulumi.Aws.S3.Inputs.BucketLifecycleRuleArgs> LifecycleRules
{
Expand All @@ -97,7 +99,8 @@ public InputList<Pulumi.Aws.S3.Inputs.BucketLifecycleRuleArgs> LifecycleRules
private InputList<Pulumi.Aws.S3.Inputs.BucketLoggingArgs>? _loggings;

/// <summary>
/// A settings of [bucket logging](https://docs.aws.amazon.com/AmazonS3/latest/UG/ManagingBucketLogging.html) (documented below).
/// Configuration of [S3 bucket logging](https://docs.aws.amazon.com/AmazonS3/latest/UG/ManagingBucketLogging.html) parameters. See Logging below for details. The provider will only perform drift detection if a configuration value is provided.
/// Use the resource `aws.s3.BucketLoggingV2` instead.
/// </summary>
public InputList<Pulumi.Aws.S3.Inputs.BucketLoggingArgs> Loggings
{
Expand All @@ -106,36 +109,42 @@ public InputList<Pulumi.Aws.S3.Inputs.BucketLoggingArgs> Loggings
}

/// <summary>
/// A configuration of [S3 object locking](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html) (documented below)
///
/// &gt; **NOTE:** You cannot use `acceleration_status` in `cn-north-1` or `us-gov-west-1`
/// Configuration of [S3 object locking](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html). See Object Lock Configuration below for details.
/// The provider wil only perform drift detection if a configuration value is provided.
/// Use the `object_lock_enabled` parameter and the resource `aws.s3.BucketObjectLockConfigurationV2` instead.
/// </summary>
[Input("objectLockConfiguration")]
public Input<Pulumi.Aws.S3.Inputs.BucketObjectLockConfigurationArgs>? ObjectLockConfiguration { get; set; }

/// <summary>
/// A valid [bucket policy](https://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html) JSON document. Note that if the policy document is not specific enough (but still valid), this provider may view the policy as constantly changing in a `pulumi preview`. In this case, please make sure you use the verbose/specific version of the policy.
/// Valid [bucket policy](https://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html) JSON document. Note that if the policy document is not specific enough (but still valid), this provider may view the policy as constantly changing. In this case, please make sure you use the verbose/specific version of the policy. For more information about building AWS IAM policy documents with this provider, see the AWS IAM Policy Document Guide.
/// The provider will only perform drift detection if a configuration value is provided.
/// Use the resource `aws.s3.BucketPolicy` instead.
/// </summary>
[Input("policy")]
public Input<string>? Policy { get; set; }

/// <summary>
/// A configuration of [replication configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html) (documented below).
/// Configuration of [replication configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html). See Replication Configuration below for details. The provider will only perform drift detection if a configuration value is provided.
/// Use the resource `aws.s3.BucketReplicationConfig` instead.
/// </summary>
[Input("replicationConfiguration")]
public Input<Pulumi.Aws.S3.Inputs.BucketReplicationConfigurationArgs>? ReplicationConfiguration { get; set; }

/// <summary>
/// Specifies who should bear the cost of Amazon S3 data transfer.
/// Can be either `BucketOwner` or `Requester`. By default, the owner of the S3 bucket would incur
/// the costs of any data transfer. See [Requester Pays Buckets](http://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html)
/// developer guide for more information.
/// Can be either `BucketOwner` or `Requester`. By default, the owner of the S3 bucket would incur the costs of any data transfer.
/// See [Requester Pays Buckets](http://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html) developer guide for more information.
/// The provider will only perform drift detection if a configuration value is provided.
/// Use the resource `aws.s3.BucketRequestPaymentConfigurationV2` instead.
/// </summary>
[Input("requestPayer")]
public Input<string>? RequestPayer { get; set; }

/// <summary>
/// A configuration of [server-side encryption configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html) (documented below)
/// Configuration of [server-side encryption configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html). See Server Side Encryption Configuration below for details.
/// The provider will only perform drift detection if a configuration value is provided.
/// Use the resource `aws.s3.BucketServerSideEncryptionConfigurationV2` instead.
/// </summary>
[Input("serverSideEncryptionConfiguration")]
public Input<Pulumi.Aws.S3.Inputs.BucketServerSideEncryptionConfigurationArgs>? ServerSideEncryptionConfiguration { get; set; }
Expand All @@ -144,7 +153,9 @@ public InputList<Pulumi.Aws.S3.Inputs.BucketLoggingArgs> Loggings
private InputMap<string>? _tags;

/// <summary>
/// A map of tags to assign to the bucket. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
/// Map of tags to assign to the bucket. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
///
/// The following arguments are deprecated, and will be removed in a future major version:
/// </summary>
public InputMap<string> Tags
{
Expand All @@ -153,25 +164,26 @@ public InputMap<string> Tags
}

/// <summary>
/// A state of [versioning](https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html) (documented below)
/// Configuration of the [S3 bucket versioning state](https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html). See Versioning below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketVersioningV2` instead.
/// </summary>
[Input("versioning")]
public Input<Pulumi.Aws.S3.Inputs.BucketVersioningArgs>? Versioning { get; set; }

/// <summary>
/// A website object (documented below).
/// Configuration of the [S3 bucket website](https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html). See Website below for details. The provider will only perform drift detection if a configuration value is provided.
/// Use the resource `aws.s3.BucketWebsiteConfigurationV2` instead.
/// </summary>
[Input("website")]
public Input<Pulumi.Aws.S3.Inputs.BucketWebsiteArgs>? Website { get; set; }

/// <summary>
/// The domain of the website endpoint, if the bucket is configured with a website. If not, this will be an empty string. This is used to create Route 53 alias records.
/// (**Deprecated**) Domain of the website endpoint, if the bucket is configured with a website. If not, this will be an empty string. This is used to create Route 53 alias records. Use the resource `aws.s3.BucketWebsiteConfigurationV2` instead.
/// </summary>
[Input("websiteDomain")]
public Input<string>? WebsiteDomain { get; set; }

/// <summary>
/// The website endpoint, if the bucket is configured with a website. If not, this will be an empty string.
/// (**Deprecated**) Website endpoint, if the bucket is configured with a website. If not, this will be an empty string. Use the resource `aws.s3.BucketWebsiteConfigurationV2` instead.
/// </summary>
[Input("websiteEndpoint")]
public Input<string>? WebsiteEndpoint { get; set; }
Expand Down
Loading

0 comments on commit 6942b02

Please sign in to comment.