Skip to content

Commit

Permalink
Upgrade to v3.11.0 of the AWS Terraform Provider (#1173)
Browse files Browse the repository at this point in the history
  • Loading branch information
stack72 authored Oct 16, 2020
1 parent 6dda53b commit 736061b
Show file tree
Hide file tree
Showing 197 changed files with 21,706 additions and 5,374 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.11.0 of the AWS Terraform Provider

---

Expand Down
1,368 changes: 1,348 additions & 20 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 @@ -16,5 +16,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.20201012122532-fe5406795ec7
github.com/terraform-providers/terraform-provider-aws => github.com/pulumi/terraform-provider-aws v1.38.1-0.20201016140124-bee0175a03ca
)
2 changes: 2 additions & 0 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,8 @@ github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20200910230100-328eb4ff41df h1:
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.20201012122532-fe5406795ec7 h1:WXqS7EMUK4q4AWM6mreEs00gMHLhrM5eUMHTyzNHPsE=
github.com/pulumi/terraform-provider-aws v1.38.1-0.20201012122532-fe5406795ec7/go.mod h1:DdjydHaAmjsZl+uZ4QLwfx9iP+trTBMjEqLeAV9/OFE=
github.com/pulumi/terraform-provider-aws v1.38.1-0.20201016140124-bee0175a03ca h1:CyHBNr359uPBABEOW+7J1S8ot0ZRBvmqRSvg53g8+Es=
github.com/pulumi/terraform-provider-aws v1.38.1-0.20201016140124-bee0175a03ca/go.mod h1:DdjydHaAmjsZl+uZ4QLwfx9iP+trTBMjEqLeAV9/OFE=
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
3 changes: 3 additions & 0 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,8 @@ func Provider() tfbridge.ProviderInfo {
"aws_appmesh_virtual_node": {Tok: awsResource(appmeshMod, "VirtualNode")},
"aws_appmesh_virtual_router": {Tok: awsResource(appmeshMod, "VirtualRouter")},
"aws_appmesh_virtual_service": {Tok: awsResource(appmeshMod, "VirtualService")},
"aws_appmesh_gateway_route": {Tok: awsResource(appmeshMod, "GatewayRoute")},
"aws_appmesh_virtual_gateway": {Tok: awsResource(appmeshMod, "VirtualGateway")},
// API Gateway
"aws_api_gateway_account": {
Tok: awsResource(apigatewayMod, "Account"),
Expand Down Expand Up @@ -3320,6 +3322,7 @@ func Provider() tfbridge.ProviderInfo {
"aws_neptune_orderable_db_instance": {Tok: awsDataSource(neptuneMod, "getOrderableDbInstance")},
"aws_neptune_engine_version": {Tok: awsDataSource(neptuneMod, "getEngineVersion")},
"aws_codeartifact_authorization_token": {Tok: awsDataSource(codeartifactMod, "getAuthorizationToken")},
"aws_codeartifact_repository_endpoint": {Tok: awsDataSource(codeartifactMod, "getRepositoryEndpoint")},
},
JavaScript: &tfbridge.JavaScriptInfo{
Dependencies: map[string]string{
Expand Down
6 changes: 3 additions & 3 deletions sdk/dotnet/ApiGatewayV2/Route.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public partial class Route : Pulumi.CustomResource
public Output<ImmutableDictionary<string, string>?> RequestModels { get; private set; } = null!;

/// <summary>
/// The route key for the route.
/// The route key for the route. For HTTP APIs, the route key can be either `$default`, or a combination of an HTTP method and resource path, for example, `GET /pets`.
/// </summary>
[Output("routeKey")]
public Output<string> RouteKey { get; private set; } = null!;
Expand Down Expand Up @@ -215,7 +215,7 @@ public InputMap<string> RequestModels
}

/// <summary>
/// The route key for the route.
/// The route key for the route. For HTTP APIs, the route key can be either `$default`, or a combination of an HTTP method and resource path, for example, `GET /pets`.
/// </summary>
[Input("routeKey", required: true)]
public Input<string> RouteKey { get; set; } = null!;
Expand Down Expand Up @@ -303,7 +303,7 @@ public InputMap<string> RequestModels
}

/// <summary>
/// The route key for the route.
/// The route key for the route. For HTTP APIs, the route key can be either `$default`, or a combination of an HTTP method and resource path, for example, `GET /pets`.
/// </summary>
[Input("routeKey")]
public Input<string>? RouteKey { get; set; }
Expand Down
286 changes: 286 additions & 0 deletions sdk/dotnet/AppMesh/GatewayRoute.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,286 @@
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;

namespace Pulumi.Aws.AppMesh
{
/// <summary>
/// Provides an AWS App Mesh gateway route resource.
///
/// ## Example Usage
///
/// ```csharp
/// using Pulumi;
/// using Aws = Pulumi.Aws;
///
/// class MyStack : Stack
/// {
/// public MyStack()
/// {
/// var example = new Aws.AppMesh.GatewayRoute("example", new Aws.AppMesh.GatewayRouteArgs
/// {
/// MeshName = "example-service-mesh",
/// VirtualGatewayName = aws_appmesh_virtual_gateway.Example.Name,
/// Spec = new Aws.AppMesh.Inputs.GatewayRouteSpecArgs
/// {
/// HttpRoute = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteArgs
/// {
/// Action = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteActionArgs
/// {
/// Target = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteActionTargetArgs
/// {
/// VirtualService = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteActionTargetVirtualServiceArgs
/// {
/// VirtualServiceName = aws_appmesh_virtual_service.Example.Name,
/// },
/// },
/// },
/// Match = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteMatchArgs
/// {
/// Prefix = "/",
/// },
/// },
/// },
/// Tags =
/// {
/// { "Environment", "test" },
/// },
/// });
/// }
///
/// }
/// ```
/// </summary>
public partial class GatewayRoute : Pulumi.CustomResource
{
/// <summary>
/// The ARN of the gateway route.
/// </summary>
[Output("arn")]
public Output<string> Arn { get; private set; } = null!;

/// <summary>
/// The creation date of the gateway route.
/// </summary>
[Output("createdDate")]
public Output<string> CreatedDate { get; private set; } = null!;

/// <summary>
/// The last update date of the gateway route.
/// </summary>
[Output("lastUpdatedDate")]
public Output<string> LastUpdatedDate { get; private set; } = null!;

/// <summary>
/// The name of the service mesh in which to create the gateway route.
/// </summary>
[Output("meshName")]
public Output<string> MeshName { get; private set; } = null!;

/// <summary>
/// The AWS account ID of the service mesh's owner. Defaults to the account ID the [AWS provider](https://www.terraform.io/docs/providers/aws/index.html) is currently connected to.
/// </summary>
[Output("meshOwner")]
public Output<string> MeshOwner { get; private set; } = null!;

/// <summary>
/// The name to use for the gateway route.
/// </summary>
[Output("name")]
public Output<string> Name { get; private set; } = null!;

/// <summary>
/// The resource owner's AWS account ID.
/// </summary>
[Output("resourceOwner")]
public Output<string> ResourceOwner { get; private set; } = null!;

/// <summary>
/// The gateway route specification to apply.
/// </summary>
[Output("spec")]
public Output<Outputs.GatewayRouteSpec> Spec { get; private set; } = null!;

/// <summary>
/// A map of tags to assign to the resource.
/// </summary>
[Output("tags")]
public Output<ImmutableDictionary<string, string>?> Tags { get; private set; } = null!;

/// <summary>
/// The name of the [virtual gateway](https://www.terraform.io/docs/providers/aws/r/appmesh_virtual_gateway.html) to associate the gateway route with.
/// </summary>
[Output("virtualGatewayName")]
public Output<string> VirtualGatewayName { get; private set; } = null!;


/// <summary>
/// Create a GatewayRoute resource with the given unique name, arguments, and options.
/// </summary>
///
/// <param name="name">The unique name of the resource</param>
/// <param name="args">The arguments used to populate this resource's properties</param>
/// <param name="options">A bag of options that control this resource's behavior</param>
public GatewayRoute(string name, GatewayRouteArgs args, CustomResourceOptions? options = null)
: base("aws:appmesh/gatewayRoute:GatewayRoute", name, args ?? new GatewayRouteArgs(), MakeResourceOptions(options, ""))
{
}

private GatewayRoute(string name, Input<string> id, GatewayRouteState? state = null, CustomResourceOptions? options = null)
: base("aws:appmesh/gatewayRoute:GatewayRoute", name, state, MakeResourceOptions(options, id))
{
}

private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id)
{
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
merged.Id = id ?? merged.Id;
return merged;
}
/// <summary>
/// Get an existing GatewayRoute resource's state with the given name, ID, and optional extra
/// properties used to qualify the lookup.
/// </summary>
///
/// <param name="name">The unique name of the resulting resource.</param>
/// <param name="id">The unique provider ID of the resource to lookup.</param>
/// <param name="state">Any extra arguments used during the lookup.</param>
/// <param name="options">A bag of options that control this resource's behavior</param>
public static GatewayRoute Get(string name, Input<string> id, GatewayRouteState? state = null, CustomResourceOptions? options = null)
{
return new GatewayRoute(name, id, state, options);
}
}

public sealed class GatewayRouteArgs : Pulumi.ResourceArgs
{
/// <summary>
/// The name of the service mesh in which to create the gateway route.
/// </summary>
[Input("meshName", required: true)]
public Input<string> MeshName { get; set; } = null!;

/// <summary>
/// The AWS account ID of the service mesh's owner. Defaults to the account ID the [AWS provider](https://www.terraform.io/docs/providers/aws/index.html) is currently connected to.
/// </summary>
[Input("meshOwner")]
public Input<string>? MeshOwner { get; set; }

/// <summary>
/// The name to use for the gateway route.
/// </summary>
[Input("name")]
public Input<string>? Name { get; set; }

/// <summary>
/// The gateway route specification to apply.
/// </summary>
[Input("spec", required: true)]
public Input<Inputs.GatewayRouteSpecArgs> Spec { get; set; } = null!;

[Input("tags")]
private InputMap<string>? _tags;

/// <summary>
/// A map of tags to assign to the resource.
/// </summary>
public InputMap<string> Tags
{
get => _tags ?? (_tags = new InputMap<string>());
set => _tags = value;
}

/// <summary>
/// The name of the [virtual gateway](https://www.terraform.io/docs/providers/aws/r/appmesh_virtual_gateway.html) to associate the gateway route with.
/// </summary>
[Input("virtualGatewayName", required: true)]
public Input<string> VirtualGatewayName { get; set; } = null!;

public GatewayRouteArgs()
{
}
}

public sealed class GatewayRouteState : Pulumi.ResourceArgs
{
/// <summary>
/// The ARN of the gateway route.
/// </summary>
[Input("arn")]
public Input<string>? Arn { get; set; }

/// <summary>
/// The creation date of the gateway route.
/// </summary>
[Input("createdDate")]
public Input<string>? CreatedDate { get; set; }

/// <summary>
/// The last update date of the gateway route.
/// </summary>
[Input("lastUpdatedDate")]
public Input<string>? LastUpdatedDate { get; set; }

/// <summary>
/// The name of the service mesh in which to create the gateway route.
/// </summary>
[Input("meshName")]
public Input<string>? MeshName { get; set; }

/// <summary>
/// The AWS account ID of the service mesh's owner. Defaults to the account ID the [AWS provider](https://www.terraform.io/docs/providers/aws/index.html) is currently connected to.
/// </summary>
[Input("meshOwner")]
public Input<string>? MeshOwner { get; set; }

/// <summary>
/// The name to use for the gateway route.
/// </summary>
[Input("name")]
public Input<string>? Name { get; set; }

/// <summary>
/// The resource owner's AWS account ID.
/// </summary>
[Input("resourceOwner")]
public Input<string>? ResourceOwner { get; set; }

/// <summary>
/// The gateway route specification to apply.
/// </summary>
[Input("spec")]
public Input<Inputs.GatewayRouteSpecGetArgs>? Spec { get; set; }

[Input("tags")]
private InputMap<string>? _tags;

/// <summary>
/// A map of tags to assign to the resource.
/// </summary>
public InputMap<string> Tags
{
get => _tags ?? (_tags = new InputMap<string>());
set => _tags = value;
}

/// <summary>
/// The name of the [virtual gateway](https://www.terraform.io/docs/providers/aws/r/appmesh_virtual_gateway.html) to associate the gateway route with.
/// </summary>
[Input("virtualGatewayName")]
public Input<string>? VirtualGatewayName { get; set; }

public GatewayRouteState()
{
}
}
}
37 changes: 37 additions & 0 deletions sdk/dotnet/AppMesh/Inputs/GatewayRouteSpecArgs.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;

namespace Pulumi.Aws.AppMesh.Inputs
{

public sealed class GatewayRouteSpecArgs : Pulumi.ResourceArgs
{
/// <summary>
/// The specification of a gRPC gateway route.
/// </summary>
[Input("grpcRoute")]
public Input<Inputs.GatewayRouteSpecGrpcRouteArgs>? GrpcRoute { get; set; }

/// <summary>
/// The specification of an HTTP/2 gateway route.
/// </summary>
[Input("http2Route")]
public Input<Inputs.GatewayRouteSpecHttp2RouteArgs>? Http2Route { get; set; }

/// <summary>
/// The specification of an HTTP gateway route.
/// </summary>
[Input("httpRoute")]
public Input<Inputs.GatewayRouteSpecHttpRouteArgs>? HttpRoute { get; set; }

public GatewayRouteSpecArgs()
{
}
}
}
Loading

0 comments on commit 736061b

Please sign in to comment.