Comments (3)
I am sorry this is not working as expected. This is a very interesting issue, thank you @jesperseverinsen for filing this with a repro, my team will have a look as time permits.
from pulumi-aws.
Still reproduces on latest unfortunately.
import * as aws from "@pulumi/aws";
const name = "aws-3166";
const bucket = new aws.s3.BucketV2(`${name}-s3-bucket`);
new aws.s3.BucketVersioningV2(
`${name}-s3-bucket-versioning`,
{
bucket: bucket.id,
versioningConfiguration: { status: 'Enabled' },
},
);
// refresh yield this diff:
//
// pulumi:pulumi:Stack: (same)
// [urn=urn:pulumi:dev::aws-3166::pulumi:pulumi:Stack::aws-3166-dev]
// ~ aws:s3/bucketV2:BucketV2: (update)
// [id=aws-3166-s3-bucket-3925e83]
// [urn=urn:pulumi:dev::aws-3166::aws:s3/bucketV2:BucketV2::aws-3166-s3-bucket]
// [provider=urn:pulumi:dev::aws-3166::pulumi:providers:aws::default_6_35_0::504bf98f-fbe4-47c0-a038-358bcb6735d8]
// --outputs:--
// ~ versionings : [
// ~ [0]: {
// ~ enabled : false => true
// mfaDelete: false
// }
// ]
from pulumi-aws.
import * as aws from "@pulumi/aws";
const example = new aws.s3.BucketV2("example", {bucket: "my-tf-example-bucket-anton-2024-05-14"});
const exampleBucketOwnershipControls = new aws.s3.BucketOwnershipControls("example", {
bucket: example.id,
rule: {
objectOwnership: "BucketOwnerPreferred",
},
});
const exampleBucketPublicAccessBlock = new aws.s3.BucketPublicAccessBlock("example", {
bucket: example.id,
blockPublicAcls: false,
blockPublicPolicy: false,
ignorePublicAcls: false,
restrictPublicBuckets: false,
});
const exampleBucketAclV2 = new aws.s3.BucketAclV2("example", {
bucket: example.id,
acl: "public-read",
}, {
dependsOn: [
exampleBucketOwnershipControls,
exampleBucketPublicAccessBlock,
],
});
A bit of the same problem here with ACL and ownership controls competing with the grants property.
~ aws:s3/bucketV2:BucketV2: (update)
[id=my-tf-example-bucket-anton-2024-05-14]
[urn=urn:pulumi:dev::2024-05-14::aws:s3/bucketV2:BucketV2::example]
[provider=urn:pulumi:dev::2024-05-14::pulumi:providers:aws::default_6_35_0::e52ec717-9340-40f3-8505-5e9ddd5d1c17]
--outputs:--
~ grants : [
[0]: {
id : "e07865a5679c7977370948f1f1e51c21b12d8cfdd396a7e3172275d9164e01b8"
permissions: [
[0]: "FULL_CONTROL"
]
type : "CanonicalUser"
uri : ""
}
+ [1]: {
+ id : ""
+ permissions: [
+ [0]: "READ"
]
+ type : "Group"
+ uri : "http://acs.amazonaws.com/groups/global/AllUsers"
}
]
from pulumi-aws.
Related Issues (20)
- Wrong version in schema for [email protected] and above HOT 11
- CloudFront KeyValueStore does not expose UUID as an output property HOT 5
- Workflow failure: Upgrade bridge HOT 3
- Upgrade terraform-provider-aws to v5.49.0
- PATCH 0057-Fix-empty-retry_strategy-of-Batch-JobDefinitions-cau.patch HOT 1
- Workflow failure: master HOT 2
- Improper partition used when generating SNS Topic ARN HOT 1
- lambda.Function `role` param is typed as optional but is required (Python) HOT 2
- Upgrade bridge to v3.82.0 HOT 3
- Workflow failure: master HOT 3
- TestRegress3196 Flake
- Inconsistent generated code HOT 1
- Workflow failure: cron HOT 1
- Upgrade terraform-provider-aws to v5.50.0 HOT 1
- Python type annotations don't match non-deprecated types HOT 1
- Pulumi destroy not working due to ENI attachment of deleted lambda HOT 2
- `error: internal error: Error: Missing newline after argument` on import of RouteTableAssociation with parent HOT 2
- PATCH 0054-Revert-r-aws_db_proxy-Change-auth-from-TypeList-to-T.patch
- PATCH 0046-Revert-rds-engine_version-Fix-bugs-with-default-only.patch HOT 1
- AWS_SKIP_CREDENTIALS_VALIDATION doesn't work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulumi-aws.