We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modifying the tags of an S3 bucket results in a CloudControl ValidationException:
tags
ValidationException
ValidationException: Model validation failed (#/Tags: expected type: JSONArray, found: String)
Pulumi version: v3.17.1 Pulumi AWS Native version: 0.5.0
v3.17.1
0.5.0
import pulumi_aws_native as aws_native tags = [aws_native.s3.BucketTagArgs(key="foo", value="bar")] bucket = aws_native.s3.Bucket(resource_name="my-bucket", tags=tags)
pulumi up
Type Name Status pulumi:pulumi:Stack pulum-dev + 鈹斺攢 aws-native:s3:Bucket my-bucket created
bar
bar2
import pulumi_aws_native as aws_native tags = [aws_native.s3.BucketTagArgs(key="foo", value="bar2")] bucket = aws_native.s3.Bucket(resource_name="my-bucket", tags=tags)
Type Name Status Info pulumi:pulumi:Stack pulum-dev **failed** 1 error ~ 鈹斺攢 aws-native:s3:Bucket my-bucket **updating failed** [diff: ~tags]; 1 error Diagnostics: aws-native:s3:Bucket (my-bucket): error: operation error CloudControl: UpdateResource, https response error StatusCode: 400, RequestID: de811b93-3d5c-4ddd-aaf3-50d8efae9e63, api error ValidationException: Model validation failed (#/Tags: expected type: JSONArray, found: String)
Output of pulumi preview --diff:
pulumi preview --diff
pulumi:pulumi:Stack: (same) [urn=urn:pulumi:dev::pulum::pulumi:pulumi:Stack::pulum-dev] ~ aws-native:s3:Bucket: (update) [id=my-bucket-598531a] [urn=urn:pulumi:dev::pulum::aws-native:s3:Bucket::my-bucket] [provider=urn:pulumi:dev::pulum::pulumi:providers:aws-native::default_0_5_0::17021c9a-ceba-4ab9-8ab2-a64da867f91b] bucketName: "my-bucket-598531a" ~ tags : [ ~ [0]: { key : "foo" ~ value: "bar" => "bar2" } ] Resources: ~ 1 to update 1 unchanged
The text was updated successfully, but these errors were encountered:
I'm getting the same ValidationException when trying to update the buffer_interval of an existing Kinesis Firehose Delivery Stream. See the relevant code snippet here: https://gist.github.com/Mdrbhatti/8e623698812acc8effc7cc4526cafa70
buffer_interval
~ aws-native:kinesisfirehose:DeliveryStream: (update) [id=xxxxx] [urn=xxxxx] [provider=urn:pulumi:xxxxxx::pulumi:providers:aws-native::default_0_5_0::b359ebc0-7ae8-4480-b00a-5d54bfdde89b] ~ extendedS3DestinationConfiguration: { ~ bufferingHints : { ~ intervalInSeconds: 70 => 60 } }
error: update failed aws-native:kinesisfirehose:DeliveryStream (xxxxx): error: operation error CloudControl: UpdateResource, https response error StatusCode: 400, RequestID: xxxxxxxx, api error ValidationException: Model validation failed (#/ExtendedS3DestinationConfiguration: expected type: JSONObject, found: String)
Sorry, something went wrong.
@Mdrbhatti @fujiapple852 Could you give 0.6.0 a try?
@mikhailshilkov 0.6.0 works fine for me now. Thank you for the quick fix!
mikhailshilkov
Successfully merging a pull request may close this issue.
Hello!
Issue details
Modifying the
tags
of an S3 bucket results in a CloudControlValidationException
:Steps to reproduce
Pulumi version:
v3.17.1
Pulumi AWS Native version:
0.5.0
pulumi up
and observe that the tag is created as expected:bar
to bebar2
):pulumi up
and observe a failure:Output of
pulumi preview --diff
:The text was updated successfully, but these errors were encountered: