Skip to content

Commit

Permalink
aws.s3.Bucket* - Add autonaming to BucketV2 and BucketObjectV2
Browse files Browse the repository at this point in the history
  • Loading branch information
stack72 committed Mar 18, 2022
1 parent 29141bf commit 19c08bf
Show file tree
Hide file tree
Showing 224 changed files with 587 additions and 865 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ builds:
- linux
ignore: []
ldflags:
- -X github.com/pulumi/pulumi-aws/provider/v4/pkg/version.Version={{.Tag}}
- -X github.com/pulumi/pulumi-aws/provider/v5/pkg/version.Version={{.Tag}}
- -X github.com/terraform-providers/terraform-provider-aws/version.ProviderVersion={{.Tag}}
main: ./cmd/pulumi-resource-aws/
changelog:
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ builds:
- linux
ignore: []
ldflags:
- -X github.com/pulumi/pulumi-aws/provider/v4/pkg/version.Version={{.Tag}}
- -X github.com/pulumi/pulumi-aws/provider/v5/pkg/version.Version={{.Tag}}
- -X github.com/terraform-providers/terraform-provider-aws/version.ProviderVersion={{.Tag}}
main: ./cmd/pulumi-resource-aws/
changelog:
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ clean::

install_plugins::
[ -x $(shell which pulumi) ] || curl -fsSL https://get.pulumi.com | sh
pulumi plugin install resource tls
pulumi plugin install resource github
pulumi plugin install resource kubernetes
pulumi plugin install resource random
pulumi plugin install resource tls 4.1.0
pulumi plugin install resource github 4.10.0
pulumi plugin install resource kubernetes 3.17.0
pulumi plugin install resource random 4.4.1

install_dotnet_sdk::
mkdir -p $(WORKING_DIR)/nuget
Expand Down
137 changes: 77 additions & 60 deletions provider/cmd/pulumi-resource-aws/schema.json

Large diffs are not rendered by default.

39 changes: 36 additions & 3 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -2407,8 +2407,15 @@ func Provider() tfbridge.ProviderInfo {
"aws_shield_protection_health_check_association": {Tok: awsResource(shieldMod, "ProtectionHealthCheckAssociation")},

// S3
"aws_s3_account_public_access_block": {Tok: awsResource(s3Mod, "AccountPublicAccessBlock")},
"aws_s3_bucket": {Tok: awsResource(s3Mod, "BucketV2")},
"aws_s3_account_public_access_block": {Tok: awsResource(s3Mod, "AccountPublicAccessBlock")},
"aws_s3_bucket": {
Tok: awsResource(s3Mod, "BucketV2"),
Fields: map[string]*tfbridge.SchemaInfo{
"bucket": tfbridge.AutoNameTransform("bucket", 63, func(name string) string {
return strings.ToLower(name)
}),
},
},
"aws_s3_bucket_accelerate_configuration": {Tok: awsResource(s3Mod, "BucketAccelerateConfigurationV2")},
"aws_s3_bucket_acl": {Tok: awsResource(s3Mod, "BucketAclV2")},
"aws_s3_bucket_cors_configuration": {Tok: awsResource(s3Mod, "BucketCorsConfigurationV2")},
Expand All @@ -2419,7 +2426,33 @@ func Provider() tfbridge.ProviderInfo {
"aws_s3_bucket_server_side_encryption_configuration": {Tok: awsResource(s3Mod, "BucketServerSideEncryptionConfigurationV2")},
"aws_s3_bucket_versioning": {Tok: awsResource(s3Mod, "BucketVersioningV2")},
"aws_s3_bucket_website_configuration": {Tok: awsResource(s3Mod, "BucketWebsiteConfigurationV2")},
"aws_s3_object": {Tok: awsResource(s3Mod, "BucketObjectv2")},
"aws_s3_object": {
Tok: awsResource(s3Mod, "BucketObjectv2"),
IDFields: []string{"bucket", "key"},
Fields: map[string]*tfbridge.SchemaInfo{
"bucket": {
// Prefer a strongly typed Bucket reference.
Type: "string",
// But also permit a string in cases where all we have is a name.
AltTypes: []tokens.Type{awsResource(s3Mod, "Bucket")},
},
"key": {
// By default, use the name as the key. It may of course be overridden.
Default: &tfbridge.DefaultInfo{
From: tfbridge.FromName(tfbridge.AutoNameOptions{
Maxlen: 0,
Randlen: 0,
Transform: nil,
}),
},
},
"source": {
Asset: &tfbridge.AssetTranslation{
Kind: tfbridge.FileAsset,
},
},
},
},
"aws_s3_bucket_legacy": {
Tok: awsResource(s3Mod, "Bucket"),
Fields: map[string]*tfbridge.SchemaInfo{
Expand Down
1 change: 0 additions & 1 deletion sdk/dotnet/Acmpca/CertificateAuthority.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ namespace Pulumi.Aws.Acmpca
/// {
/// var exampleBucketV2 = new Aws.S3.BucketV2("exampleBucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "example",
/// });
/// var acmpcaBucketAccess = Aws.Iam.GetPolicyDocument.Invoke(new Aws.Iam.GetPolicyDocumentInvokeArgs
/// {
Expand Down
1 change: 0 additions & 1 deletion sdk/dotnet/Athena/Database.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ namespace Pulumi.Aws.Athena
/// {
/// var hogeBucketV2 = new Aws.S3.BucketV2("hogeBucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "hoge",
/// });
/// var hogeDatabase = new Aws.Athena.Database("hogeDatabase", new Aws.Athena.DatabaseArgs
/// {
Expand Down
1 change: 0 additions & 1 deletion sdk/dotnet/Athena/NamedQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ namespace Pulumi.Aws.Athena
/// {
/// var hogeBucketV2 = new Aws.S3.BucketV2("hogeBucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "tf-test",
/// });
/// var testKey = new Aws.Kms.Key("testKey", new Aws.Kms.KeyArgs
/// {
Expand Down
1 change: 0 additions & 1 deletion sdk/dotnet/Cfg/ConformancePack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ namespace Pulumi.Aws.Cfg
/// {
/// var exampleBucketV2 = new Aws.S3.BucketV2("exampleBucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "example",
/// });
/// var exampleBucketObjectv2 = new Aws.S3.BucketObjectv2("exampleBucketObjectv2", new Aws.S3.BucketObjectv2Args
/// {
Expand Down
1 change: 0 additions & 1 deletion sdk/dotnet/Cfg/DeliveryChannel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ namespace Pulumi.Aws.Cfg
/// {
/// var bucketV2 = new Aws.S3.BucketV2("bucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "example-awsconfig",
/// ForceDestroy = true,
/// });
/// var role = new Aws.Iam.Role("role", new Aws.Iam.RoleArgs
Expand Down
1 change: 0 additions & 1 deletion sdk/dotnet/Cfg/OrganizationConformancePack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ namespace Pulumi.Aws.Cfg
/// });
/// var exampleBucketV2 = new Aws.S3.BucketV2("exampleBucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "example",
/// });
/// var exampleBucketObjectv2 = new Aws.S3.BucketObjectv2("exampleBucketObjectv2", new Aws.S3.BucketObjectv2Args
/// {
Expand Down
1 change: 0 additions & 1 deletion sdk/dotnet/Cfg/RecorderStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ namespace Pulumi.Aws.Cfg
/// {
/// var bucketV2 = new Aws.S3.BucketV2("bucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "awsconfig-example",
/// });
/// var fooDeliveryChannel = new Aws.Cfg.DeliveryChannel("fooDeliveryChannel", new Aws.Cfg.DeliveryChannelArgs
/// {
Expand Down
1 change: 0 additions & 1 deletion sdk/dotnet/CloudFront/Distribution.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ namespace Pulumi.Aws.CloudFront
/// {
/// var bucketV2 = new Aws.S3.BucketV2("bucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "mybucket",
/// Tags =
/// {
/// { "Name", "My bucket" },
Expand Down
2 changes: 0 additions & 2 deletions sdk/dotnet/CloudFront/GetLogDeliveryCanonicalUserId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public static class GetLogDeliveryCanonicalUserId
/// var exampleLogDeliveryCanonicalUserId = Output.Create(Aws.CloudFront.GetLogDeliveryCanonicalUserId.InvokeAsync());
/// var exampleBucketV2 = new Aws.S3.BucketV2("exampleBucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "example",
/// });
/// var exampleBucketAclV2 = new Aws.S3.BucketAclV2("exampleBucketAclV2", new Aws.S3.BucketAclV2Args
/// {
Expand Down Expand Up @@ -80,7 +79,6 @@ public static Task<GetLogDeliveryCanonicalUserIdResult> InvokeAsync(GetLogDelive
/// var exampleLogDeliveryCanonicalUserId = Output.Create(Aws.CloudFront.GetLogDeliveryCanonicalUserId.InvokeAsync());
/// var exampleBucketV2 = new Aws.S3.BucketV2("exampleBucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "example",
/// });
/// var exampleBucketAclV2 = new Aws.S3.BucketAclV2("exampleBucketAclV2", new Aws.S3.BucketAclV2Args
/// {
Expand Down
2 changes: 0 additions & 2 deletions sdk/dotnet/CloudTrail/GetServiceAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public static class GetServiceAccount
/// var main = Output.Create(Aws.CloudTrail.GetServiceAccount.InvokeAsync());
/// var bucket = new Aws.S3.BucketV2("bucket", new Aws.S3.BucketV2Args
/// {
/// Bucket = "tf-cloudtrail-logging-test-bucket",
/// ForceDestroy = true,
/// });
/// var allowCloudtrailLogging = new Aws.S3.BucketPolicy("allowCloudtrailLogging", new Aws.S3.BucketPolicyArgs
Expand Down Expand Up @@ -95,7 +94,6 @@ public static Task<GetServiceAccountResult> InvokeAsync(GetServiceAccountArgs? a
/// var main = Output.Create(Aws.CloudTrail.GetServiceAccount.InvokeAsync());
/// var bucket = new Aws.S3.BucketV2("bucket", new Aws.S3.BucketV2Args
/// {
/// Bucket = "tf-cloudtrail-logging-test-bucket",
/// ForceDestroy = true,
/// });
/// var allowCloudtrailLogging = new Aws.S3.BucketPolicy("allowCloudtrailLogging", new Aws.S3.BucketPolicyArgs
Expand Down
4 changes: 0 additions & 4 deletions sdk/dotnet/CloudTrail/Trail.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ namespace Pulumi.Aws.CloudTrail
/// var current = Output.Create(Aws.GetCallerIdentity.InvokeAsync());
/// var bucketV2 = new Aws.S3.BucketV2("bucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "my_tf_test_bucket",
/// });
/// var bucketPolicy = new Aws.S3.BucketPolicy("bucketPolicy", new Aws.S3.BucketPolicyArgs
/// {
Expand Down Expand Up @@ -102,7 +101,6 @@ namespace Pulumi.Aws.CloudTrail
/// {
/// var bucketV2 = new Aws.S3.BucketV2("bucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "my_tf_test_bucket",
/// });
/// var example = new Aws.CloudTrail.Trail("example", new Aws.CloudTrail.TrailArgs
/// {
Expand Down Expand Up @@ -144,7 +142,6 @@ namespace Pulumi.Aws.CloudTrail
/// {
/// var bucketV2 = new Aws.S3.BucketV2("bucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "my_tf_test_bucket",
/// });
/// var example = new Aws.CloudTrail.Trail("example", new Aws.CloudTrail.TrailArgs
/// {
Expand Down Expand Up @@ -471,7 +468,6 @@ namespace Pulumi.Aws.CloudTrail
/// });
/// var bucketV2 = new Aws.S3.BucketV2("bucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "my_tf_test_bucket",
/// });
/// var exampleTrail = new Aws.CloudTrail.Trail("exampleTrail", new Aws.CloudTrail.TrailArgs
/// {
Expand Down
1 change: 0 additions & 1 deletion sdk/dotnet/CloudWatch/MetricStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ namespace Pulumi.Aws.CloudWatch
/// });
/// var bucket = new Aws.S3.BucketV2("bucket", new Aws.S3.BucketV2Args
/// {
/// Bucket = "metric-stream-test-bucket",
/// });
/// var firehoseToS3Role = new Aws.Iam.Role("firehoseToS3Role", new Aws.Iam.RoleArgs
/// {
Expand Down
1 change: 0 additions & 1 deletion sdk/dotnet/CodeBuild/Project.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ namespace Pulumi.Aws.CodeBuild
/// {
/// var exampleBucketV2 = new Aws.S3.BucketV2("exampleBucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "example",
/// });
/// var exampleBucketAclV2 = new Aws.S3.BucketAclV2("exampleBucketAclV2", new Aws.S3.BucketAclV2Args
/// {
Expand Down
1 change: 0 additions & 1 deletion sdk/dotnet/CodeBuild/ReportGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ namespace Pulumi.Aws.CodeBuild
/// });
/// var exampleBucketV2 = new Aws.S3.BucketV2("exampleBucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "my-test",
/// });
/// var exampleReportGroup = new Aws.CodeBuild.ReportGroup("exampleReportGroup", new Aws.CodeBuild.ReportGroupArgs
/// {
Expand Down
1 change: 0 additions & 1 deletion sdk/dotnet/CodePipeline/Pipeline.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ namespace Pulumi.Aws.CodePipeline
/// });
/// var codepipelineBucket = new Aws.S3.BucketV2("codepipelineBucket", new Aws.S3.BucketV2Args
/// {
/// Bucket = "test-bucket",
/// });
/// var codepipelineRole = new Aws.Iam.Role("codepipelineRole", new Aws.Iam.RoleArgs
/// {
Expand Down
2 changes: 0 additions & 2 deletions sdk/dotnet/Ec2/FlowLog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ namespace Pulumi.Aws.Ec2
/// {
/// var exampleBucketV2 = new Aws.S3.BucketV2("exampleBucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "example",
/// });
/// var exampleFlowLog = new Aws.Ec2.FlowLog("exampleFlowLog", new Aws.Ec2.FlowLogArgs
/// {
Expand All @@ -113,7 +112,6 @@ namespace Pulumi.Aws.Ec2
/// {
/// var exampleBucketV2 = new Aws.S3.BucketV2("exampleBucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "example",
/// });
/// var exampleFlowLog = new Aws.Ec2.FlowLog("exampleFlowLog", new Aws.Ec2.FlowLogArgs
/// {
Expand Down
1 change: 0 additions & 1 deletion sdk/dotnet/Ec2/SpotDatafeedSubscription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ namespace Pulumi.Aws.Ec2
/// {
/// var defaultBucketV2 = new Aws.S3.BucketV2("defaultBucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "tf-spot-datafeed",
/// });
/// var defaultSpotDatafeedSubscription = new Aws.Ec2.SpotDatafeedSubscription("defaultSpotDatafeedSubscription", new Aws.Ec2.SpotDatafeedSubscriptionArgs
/// {
Expand Down
3 changes: 1 addition & 2 deletions sdk/dotnet/ElasticBeanstalk/ApplicationVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ namespace Pulumi.Aws.ElasticBeanstalk
/// {
/// var defaultBucketV2 = new Aws.S3.BucketV2("defaultBucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "tftest.applicationversion.bucket",
/// });
/// var defaultBucketObjectv2 = new Aws.S3.BucketObjectv2("defaultBucketObjectv2", new Aws.S3.BucketObjectv2Args
/// {
/// Bucket = defaultBucketV2.Id,
/// Key = "beanstalk/go-v1.zip",
/// Source = "go-v1.zip",
/// Source = new FileAsset("go-v1.zip"),
/// });
/// var defaultApplication = new Aws.ElasticBeanstalk.Application("defaultApplication", new Aws.ElasticBeanstalk.ApplicationArgs
/// {
Expand Down
2 changes: 0 additions & 2 deletions sdk/dotnet/ElasticLoadBalancing/GetServiceAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public static class GetServiceAccount
/// var main = Output.Create(Aws.Elb.GetServiceAccount.InvokeAsync());
/// var elbLogs = new Aws.S3.BucketV2("elbLogs", new Aws.S3.BucketV2Args
/// {
/// Bucket = "my-elb-tf-test-bucket",
/// });
/// var elbLogsAcl = new Aws.S3.BucketAclV2("elbLogsAcl", new Aws.S3.BucketAclV2Args
/// {
Expand Down Expand Up @@ -112,7 +111,6 @@ public static Task<GetServiceAccountResult> InvokeAsync(GetServiceAccountArgs? a
/// var main = Output.Create(Aws.Elb.GetServiceAccount.InvokeAsync());
/// var elbLogs = new Aws.S3.BucketV2("elbLogs", new Aws.S3.BucketV2Args
/// {
/// Bucket = "my-elb-tf-test-bucket",
/// });
/// var elbLogsAcl = new Aws.S3.BucketAclV2("elbLogsAcl", new Aws.S3.BucketAclV2Args
/// {
Expand Down
2 changes: 0 additions & 2 deletions sdk/dotnet/Elb/GetServiceAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public static class GetServiceAccount
/// var main = Output.Create(Aws.Elb.GetServiceAccount.InvokeAsync());
/// var elbLogs = new Aws.S3.BucketV2("elbLogs", new Aws.S3.BucketV2Args
/// {
/// Bucket = "my-elb-tf-test-bucket",
/// });
/// var elbLogsAcl = new Aws.S3.BucketAclV2("elbLogsAcl", new Aws.S3.BucketAclV2Args
/// {
Expand Down Expand Up @@ -111,7 +110,6 @@ public static Task<GetServiceAccountResult> InvokeAsync(GetServiceAccountArgs? a
/// var main = Output.Create(Aws.Elb.GetServiceAccount.InvokeAsync());
/// var elbLogs = new Aws.S3.BucketV2("elbLogs", new Aws.S3.BucketV2Args
/// {
/// Bucket = "my-elb-tf-test-bucket",
/// });
/// var elbLogsAcl = new Aws.S3.BucketAclV2("elbLogsAcl", new Aws.S3.BucketAclV2Args
/// {
Expand Down
1 change: 0 additions & 1 deletion sdk/dotnet/Fsx/DataRepositoryAssociation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ namespace Pulumi.Aws.Fsx
/// {
/// var exampleBucketV2 = new Aws.S3.BucketV2("exampleBucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "my-bucket",
/// });
/// var exampleBucketAclV2 = new Aws.S3.BucketAclV2("exampleBucketAclV2", new Aws.S3.BucketAclV2Args
/// {
Expand Down
1 change: 0 additions & 1 deletion sdk/dotnet/GetBillingServiceAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public static class GetBillingServiceAccount
/// var main = Output.Create(Aws.GetBillingServiceAccount.InvokeAsync());
/// var billingLogs = new Aws.S3.BucketV2("billingLogs", new Aws.S3.BucketV2Args
/// {
/// Bucket = "my-billing-tf-test-bucket",
/// });
/// var billingLogsAcl = new Aws.S3.BucketAclV2("billingLogsAcl", new Aws.S3.BucketAclV2Args
/// {
Expand Down
1 change: 0 additions & 1 deletion sdk/dotnet/GuardDuty/PublishingDestination.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ namespace Pulumi.Aws.GuardDuty
/// var currentRegion = Output.Create(Aws.GetRegion.InvokeAsync());
/// var gdBucket = new Aws.S3.BucketV2("gdBucket", new Aws.S3.BucketV2Args
/// {
/// Bucket = "example",
/// ForceDestroy = true,
/// });
/// var bucketPol = Aws.Iam.GetPolicyDocument.Invoke(new Aws.Iam.GetPolicyDocumentInvokeArgs
Expand Down
2 changes: 0 additions & 2 deletions sdk/dotnet/Kinesis/FirehoseDeliveryStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ namespace Pulumi.Aws.Kinesis
/// {
/// var bucket = new Aws.S3.BucketV2("bucket", new Aws.S3.BucketV2Args
/// {
/// Bucket = "tf-test-bucket",
/// });
/// var firehoseRole = new Aws.Iam.Role("firehoseRole", new Aws.Iam.RoleArgs
/// {
Expand Down Expand Up @@ -119,7 +118,6 @@ namespace Pulumi.Aws.Kinesis
/// {
/// var bucket = new Aws.S3.BucketV2("bucket", new Aws.S3.BucketV2Args
/// {
/// Bucket = "tf-test-bucket",
/// });
/// var bucketAcl = new Aws.S3.BucketAclV2("bucketAcl", new Aws.S3.BucketAclV2Args
/// {
Expand Down
6 changes: 2 additions & 4 deletions sdk/dotnet/KinesisAnalyticsV2/Application.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,12 @@ namespace Pulumi.Aws.KinesisAnalyticsV2
/// {
/// var exampleBucketV2 = new Aws.S3.BucketV2("exampleBucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "example-flink-application",
/// });
/// var exampleBucketObjectv2 = new Aws.S3.BucketObjectv2("exampleBucketObjectv2", new Aws.S3.BucketObjectv2Args
/// {
/// Bucket = exampleBucketV2.Bucket,
/// Key = "example-flink-application",
/// Source = "flink-app.jar",
/// Source = new FileAsset("flink-app.jar"),
/// });
/// var exampleApplication = new Aws.KinesisAnalyticsV2.Application("exampleApplication", new Aws.KinesisAnalyticsV2.ApplicationArgs
/// {
Expand Down Expand Up @@ -265,13 +264,12 @@ namespace Pulumi.Aws.KinesisAnalyticsV2
/// {
/// var exampleBucketV2 = new Aws.S3.BucketV2("exampleBucketV2", new Aws.S3.BucketV2Args
/// {
/// Bucket = "example-flink-application",
/// });
/// var exampleBucketObjectv2 = new Aws.S3.BucketObjectv2("exampleBucketObjectv2", new Aws.S3.BucketObjectv2Args
/// {
/// Bucket = exampleBucketV2.Bucket,
/// Key = "example-flink-application",
/// Source = "flink-app.jar",
/// Source = new FileAsset("flink-app.jar"),
/// });
/// var exampleApplication = new Aws.KinesisAnalyticsV2.Application("exampleApplication", new Aws.KinesisAnalyticsV2.ApplicationArgs
/// {
Expand Down
1 change: 0 additions & 1 deletion sdk/dotnet/Msk/Cluster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ namespace Pulumi.Aws.Msk
/// });
/// var bucket = new Aws.S3.BucketV2("bucket", new Aws.S3.BucketV2Args
/// {
/// Bucket = "msk-broker-logs-bucket",
/// });
/// var bucketAcl = new Aws.S3.BucketAclV2("bucketAcl", new Aws.S3.BucketAclV2Args
/// {
Expand Down

0 comments on commit 19c08bf

Please sign in to comment.