Skip to content

Commit

Permalink
Upgrade to v3.20.0 of the AWS Terraform Provider (#1250)
Browse files Browse the repository at this point in the history
  • Loading branch information
stack72 authored Dec 4, 2020
1 parent dc8d336 commit 2884273
Show file tree
Hide file tree
Showing 80 changed files with 1,358 additions and 493 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CHANGELOG
=========

## HEAD (Unreleased)
_(none)_
* Upgrade to v3.20.0 of the AWS Terraform Provider

---

Expand Down
210 changes: 177 additions & 33 deletions provider/cmd/pulumi-resource-aws/schema.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ replace (
github.com/Azure/go-autorest => github.com/Azure/go-autorest v12.4.3+incompatible
github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20200910230100-328eb4ff41df
github.com/hashicorp/vault => github.com/hashicorp/vault v1.2.0
github.com/terraform-providers/terraform-provider-aws => github.com/pulumi/terraform-provider-aws v1.38.1-0.20201201222528-a8b47938bf95
github.com/terraform-providers/terraform-provider-aws => github.com/pulumi/terraform-provider-aws v1.38.1-0.20201204131137-387acf2ecd1d
)
8 changes: 4 additions & 4 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ github.com/aws/aws-sdk-go v1.19.39/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpi
github.com/aws/aws-sdk-go v1.25.3/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/aws/aws-sdk-go v1.31.9/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0=
github.com/aws/aws-sdk-go v1.31.13/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0=
github.com/aws/aws-sdk-go v1.35.37 h1:XA71k5PofXJ/eeXdWrTQiuWPEEyq8liguR+Y/QUELhI=
github.com/aws/aws-sdk-go v1.35.37/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
github.com/aws/aws-sdk-go v1.36.0 h1:CscTrS+szX5iu34zk2bZrChnGO/GMtUYgMK1Xzs2hYo=
github.com/aws/aws-sdk-go v1.36.0/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
github.com/beevik/etree v1.1.0 h1:T0xke/WvNtMoCqgzPhkX2r4rjY3GDZFi+FjpRZY2Jbs=
github.com/beevik/etree v1.1.0/go.mod h1:r8Aw8JqVegEf0w2fDnATrX9VpkMcyFeM0FhwO62wh+A=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
Expand Down Expand Up @@ -548,8 +548,8 @@ github.com/pulumi/pulumi/sdk/v2 v2.15.1-0.20201202214525-260620430c4c h1:nYFMU38
github.com/pulumi/pulumi/sdk/v2 v2.15.1-0.20201202214525-260620430c4c/go.mod h1:Z9ifPo/Q0+hUpAyguVx2gp5Sx+CBumnWvYQDhrM8l3E=
github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20200910230100-328eb4ff41df h1:kXSvfAz43o0D0gfxUqVCOP3NrfnGbptJBshVsqZlBqA=
github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20200910230100-328eb4ff41df/go.mod h1:pVZLnLuSe/yv0XqTHFPb8xRGWPwgANT77jHeHqjXS5o=
github.com/pulumi/terraform-provider-aws v1.38.1-0.20201201222528-a8b47938bf95 h1:bIclVa/7UTvlErJMeTauhLgN0MnCyi/C2E3wIjom4oA=
github.com/pulumi/terraform-provider-aws v1.38.1-0.20201201222528-a8b47938bf95/go.mod h1:ZslLiBvJetBUHSnztG0XdSQpwuQkb85f3bqk7kV9ZCo=
github.com/pulumi/terraform-provider-aws v1.38.1-0.20201204131137-387acf2ecd1d h1:YDxI1r/nHF0QhuY9c8skzxmu1EDDzd7vjOR/YACDCVs=
github.com/pulumi/terraform-provider-aws v1.38.1-0.20201204131137-387acf2ecd1d/go.mod h1:kdhsukI1rMp0GTrqciw7l2Bh8UgwsJJq/pLhEyy0S8k=
github.com/rjeczalik/notify v0.9.2/go.mod h1:aErll2f0sUX9PXZnVNyeiObbmTlk5jnMoCa4QEjJeqM=
github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public sealed class ProjectSecondaryArtifactArgs : Pulumi.ResourceArgs
public Input<string>? Path { get; set; }

/// <summary>
/// The build output artifact's type. Valid values for this parameter are: `CODEPIPELINE`, `NO_ARTIFACTS` or `S3`.
/// The build output artifact's type. The only valid value is `S3`.
/// </summary>
[Input("type", required: true)]
public Input<string> Type { get; set; } = null!;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public sealed class ProjectSecondaryArtifactGetArgs : Pulumi.ResourceArgs
public Input<string>? Path { get; set; }

/// <summary>
/// The build output artifact's type. Valid values for this parameter are: `CODEPIPELINE`, `NO_ARTIFACTS` or `S3`.
/// The build output artifact's type. The only valid value is `S3`.
/// </summary>
[Input("type", required: true)]
public Input<string> Type { get; set; } = null!;
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/CodeBuild/Outputs/ProjectSecondaryArtifact.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public sealed class ProjectSecondaryArtifact
/// </summary>
public readonly string? Path;
/// <summary>
/// The build output artifact's type. Valid values for this parameter are: `CODEPIPELINE`, `NO_ARTIFACTS` or `S3`.
/// The build output artifact's type. The only valid value is `S3`.
/// </summary>
public readonly string Type;

Expand Down
2 changes: 2 additions & 0 deletions sdk/dotnet/Config/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ public class Endpoints
public string? Dynamodb { get; set; } = null!;
public string? Ec2 { get; set; } = null!;
public string? Ecr { get; set; } = null!;
public string? Ecrpublic { get; set; } = null!;
public string? Ecs { get; set; } = null!;
public string? Efs { get; set; } = null!;
public string? Eks { get; set; } = null!;
Expand Down Expand Up @@ -205,6 +206,7 @@ public class Endpoints
public string? Mediastore { get; set; } = null!;
public string? Mediastoredata { get; set; } = null!;
public string? Mq { get; set; } = null!;
public string? Mwaa { get; set; } = null!;
public string? Neptune { get; set; } = null!;
public string? Networkfirewall { get; set; } = null!;
public string? Networkmanager { get; set; } = null!;
Expand Down
4 changes: 2 additions & 2 deletions sdk/dotnet/Ec2/VpnConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public partial class VpnConnection : Pulumi.CustomResource
public Output<ImmutableDictionary<string, string>?> Tags { get; private set; } = null!;

/// <summary>
/// When associated with an EC2 Transit Gateway (`transit_gateway_id` argument), the attachment ID.
/// When associated with an EC2 Transit Gateway (`transit_gateway_id` argument), the attachment ID. See also the [`aws.ec2.Tag` resource](https://www.terraform.io/docs/providers/aws/r/ec2_tag.html) for tagging the EC2 Transit Gateway VPN Attachment.
/// </summary>
[Output("transitGatewayAttachmentId")]
public Output<string> TransitGatewayAttachmentId { get; private set; } = null!;
Expand Down Expand Up @@ -401,7 +401,7 @@ public InputMap<string> Tags
}

/// <summary>
/// When associated with an EC2 Transit Gateway (`transit_gateway_id` argument), the attachment ID.
/// When associated with an EC2 Transit Gateway (`transit_gateway_id` argument), the attachment ID. See also the [`aws.ec2.Tag` resource](https://www.terraform.io/docs/providers/aws/r/ec2_tag.html) for tagging the EC2 Transit Gateway VPN Attachment.
/// </summary>
[Input("transitGatewayAttachmentId")]
public Input<string>? TransitGatewayAttachmentId { get; set; }
Expand Down
2 changes: 2 additions & 0 deletions sdk/dotnet/Ec2TransitGateway/GetVpnAttachment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ public static class GetVpnAttachment
/// <summary>
/// Get information on an EC2 Transit Gateway VPN Attachment.
///
/// &gt; EC2 Transit Gateway VPN Attachments are implicitly created by VPN Connections referencing an EC2 Transit Gateway so there is no managed resource. For ease, the [`aws.ec2.VpnConnection` resource](https://www.terraform.io/docs/providers/aws/r/vpn_connection.html) includes a `transit_gateway_attachment_id` attribute which can replace some usage of this data source. For tagging the attachment, see the [`aws.ec2.Tag` resource](https://www.terraform.io/docs/providers/aws/r/ec2_tag.html).
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
Expand Down
8 changes: 0 additions & 8 deletions sdk/dotnet/Eks/GetClusterAuth.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@ namespace Pulumi.Aws.Eks
{
public static class GetClusterAuth
{
/// <summary>
/// Get an authentication token to communicate with an EKS cluster.
///
/// Uses IAM credentials from the AWS provider to generate a temporary token that is compatible with
/// [AWS IAM Authenticator](https://github.com/kubernetes-sigs/aws-iam-authenticator) authentication.
/// This can be used to authenticate to an EKS cluster or to a cluster that has the AWS IAM Authenticator
/// server configured.
/// </summary>
public static Task<GetClusterAuthResult> InvokeAsync(GetClusterAuthArgs args, InvokeOptions? options = null)
=> Pulumi.Deployment.Instance.InvokeAsync<GetClusterAuthResult>("aws:eks/getClusterAuth:getClusterAuth", args ?? new GetClusterAuthArgs(), options.WithVersion());
}
Expand Down
8 changes: 4 additions & 4 deletions sdk/dotnet/Eks/NodeGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,10 @@ public partial class NodeGroup : Pulumi.CustomResource
public Output<string> Arn { get; private set; } = null!;

/// <summary>
/// Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`.
/// Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided.
/// </summary>
[Output("capacityType")]
public Output<string?> CapacityType { get; private set; } = null!;
public Output<string> CapacityType { get; private set; } = null!;

/// <summary>
/// Name of the EKS Cluster.
Expand Down Expand Up @@ -300,7 +300,7 @@ public sealed class NodeGroupArgs : Pulumi.ResourceArgs
public Input<string>? AmiType { get; set; }

/// <summary>
/// Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`.
/// Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided.
/// </summary>
[Input("capacityType")]
public Input<string>? CapacityType { get; set; }
Expand Down Expand Up @@ -433,7 +433,7 @@ public sealed class NodeGroupState : Pulumi.ResourceArgs
public Input<string>? Arn { get; set; }

/// <summary>
/// Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`.
/// Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. This provider will only perform drift detection if a configuration value is provided.
/// </summary>
[Input("capacityType")]
public Input<string>? CapacityType { get; set; }
Expand Down
6 changes: 3 additions & 3 deletions sdk/dotnet/ElastiCache/Cluster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public partial class Cluster : Pulumi.CustomResource
/// retain automatic cache cluster snapshots before deleting them. For example, if you set
/// SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days
/// before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.
/// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes
/// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes
/// </summary>
[Output("snapshotRetentionLimit")]
public Output<int?> SnapshotRetentionLimit { get; private set; } = null!;
Expand Down Expand Up @@ -483,7 +483,7 @@ public InputList<string> SnapshotArns
/// retain automatic cache cluster snapshots before deleting them. For example, if you set
/// SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days
/// before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.
/// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes
/// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes
/// </summary>
[Input("snapshotRetentionLimit")]
public Input<int>? SnapshotRetentionLimit { get; set; }
Expand Down Expand Up @@ -707,7 +707,7 @@ public InputList<string> SnapshotArns
/// retain automatic cache cluster snapshots before deleting them. For example, if you set
/// SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days
/// before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.
/// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes
/// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes
/// </summary>
[Input("snapshotRetentionLimit")]
public Input<int>? SnapshotRetentionLimit { get; set; }
Expand Down
6 changes: 3 additions & 3 deletions sdk/dotnet/ElastiCache/ReplicationGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ public partial class ReplicationGroup : Pulumi.CustomResource
/// retain automatic cache cluster snapshots before deleting them. For example, if you set
/// SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days
/// before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.
/// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes
/// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes
/// </summary>
[Output("snapshotRetentionLimit")]
public Output<int?> SnapshotRetentionLimit { get; private set; } = null!;
Expand Down Expand Up @@ -545,7 +545,7 @@ public InputList<string> SnapshotArns
/// retain automatic cache cluster snapshots before deleting them. For example, if you set
/// SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days
/// before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.
/// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes
/// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes
/// </summary>
[Input("snapshotRetentionLimit")]
public Input<int>? SnapshotRetentionLimit { get; set; }
Expand Down Expand Up @@ -779,7 +779,7 @@ public InputList<string> SnapshotArns
/// retain automatic cache cluster snapshots before deleting them. For example, if you set
/// SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days
/// before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.
/// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro or cache.t2.* cache nodes
/// Please note that setting a `snapshot_retention_limit` is not supported on cache.t1.micro cache nodes
/// </summary>
[Input("snapshotRetentionLimit")]
public Input<int>? SnapshotRetentionLimit { get; set; }
Expand Down
6 changes: 6 additions & 0 deletions sdk/dotnet/Inputs/ProviderEndpointArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ public sealed class ProviderEndpointArgs : Pulumi.ResourceArgs
[Input("ecr")]
public Input<string>? Ecr { get; set; }

[Input("ecrpublic")]
public Input<string>? Ecrpublic { get; set; }

[Input("ecs")]
public Input<string>? Ecs { get; set; }

Expand Down Expand Up @@ -300,6 +303,9 @@ public sealed class ProviderEndpointArgs : Pulumi.ResourceArgs
[Input("mq")]
public Input<string>? Mq { get; set; }

[Input("mwaa")]
public Input<string>? Mwaa { get; set; }

[Input("neptune")]
public Input<string>? Neptune { get; set; }

Expand Down
6 changes: 3 additions & 3 deletions sdk/dotnet/Lambda/EventSourceMapping.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public partial class EventSourceMapping : Pulumi.CustomResource
public Output<string> LastProcessingResult { get; private set; } = null!;

/// <summary>
/// The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function.
/// The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function.
/// </summary>
[Output("maximumBatchingWindowInSeconds")]
public Output<int?> MaximumBatchingWindowInSeconds { get; private set; } = null!;
Expand Down Expand Up @@ -263,7 +263,7 @@ public sealed class EventSourceMappingArgs : Pulumi.ResourceArgs
public Input<string> FunctionName { get; set; } = null!;

/// <summary>
/// The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function.
/// The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function.
/// </summary>
[Input("maximumBatchingWindowInSeconds")]
public Input<int>? MaximumBatchingWindowInSeconds { get; set; }
Expand Down Expand Up @@ -350,7 +350,7 @@ public sealed class EventSourceMappingState : Pulumi.ResourceArgs
public Input<string>? LastProcessingResult { get; set; }

/// <summary>
/// The maximum amount of time to gather records before invoking the function, in seconds. Records will continue to buffer until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function.
/// The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either `maximum_batching_window_in_seconds` expires or `batch_size` has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function.
/// </summary>
[Input("maximumBatchingWindowInSeconds")]
public Input<int>? MaximumBatchingWindowInSeconds { get; set; }
Expand Down
Loading

0 comments on commit 2884273

Please sign in to comment.