Skip to content

Commit

Permalink
set up bucket name
Browse files Browse the repository at this point in the history
  • Loading branch information
mykolalosev committed Nov 25, 2022
1 parent 79cd55a commit 8076bbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/cur/reportdefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ apiVersion: s3.aws.upbound.io/v1beta1
kind: Bucket
metadata:
annotations:
crossplane.io/external-name: test-definition-bucket-${Rand.RFC1123Subdomain}
crossplane.io/external-name: test-definition-bucket-axbjhdwjdk
meta.upbound.io/example-id: cur/v1beta1/reportdefinition
labels:
testing.upbound.io/example-name: example
Expand Down Expand Up @@ -63,7 +63,7 @@ spec:
"s3:GetBucketAcl",
"s3:GetBucketPolicy"
],
"Resource":"arn:aws:s3:::test-definition-bucket-*",
"Resource":"arn:aws:s3:::test-definition-bucket-axbjhdwjdk",
"Condition": {
"StringEquals": {
"aws:SourceArn": "arn:aws:cur:us-east-1:${data.aws_account_id}:definition/*",
Expand All @@ -78,7 +78,7 @@ spec:
"Service": "billingreports.amazonaws.com"
},
"Action": "s3:PutObject",
"Resource": "arn:aws:s3:::test-definition-bucket-*/*",
"Resource": "arn:aws:s3:::test-definition-bucket-axbjhdwjdk/*",
"Condition": {
"StringEquals": {
"aws:SourceArn": "arn:aws:cur:us-east-1:${data.aws_account_id}:definition/*",
Expand Down

0 comments on commit 8076bbd

Please sign in to comment.