Skip to content

Commit

Permalink
fix failing integ test
Browse files Browse the repository at this point in the history
  • Loading branch information
moelasmar committed Sep 15, 2024
1 parent 17fa596 commit 29f7f41
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 49 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"Type": "AWS::Lambda::LayerVersion",
"Properties": {
"Content": {
"S3Bucket": "cdk-hnb659fds-assets-772514331817-us-east-1",
"S3Bucket": "cdk-hnb659fds-assets-12345678-test-region",
"S3Key": "3322b7049fb0ed2b7cbb644a2ada8d1116ff80c32dca89e6ada846b5de26f961.zip"
},
"Description": "/opt/awscli/aws"
Expand All @@ -34,9 +34,9 @@
]
},
"SourceBucketNames": [
"cdk-hnb659fds-assets-772514331817-us-east-1",
"cdk-hnb659fds-assets-772514331817-us-east-1",
"cdk-hnb659fds-assets-772514331817-us-east-1"
"cdk-hnb659fds-assets-12345678-test-region",
"cdk-hnb659fds-assets-12345678-test-region",
"cdk-hnb659fds-assets-12345678-test-region"
],
"SourceObjectKeys": [
"d3833f63e813b3a96ea04c8c50ca98209330867f5f6ac358efca11f85a3476c2.zip",
Expand Down Expand Up @@ -111,7 +111,7 @@
{
"Ref": "AWS::Partition"
},
":s3:::cdk-hnb659fds-assets-772514331817-us-east-1"
":s3:::cdk-hnb659fds-assets-12345678-test-region"
]
]
},
Expand All @@ -123,7 +123,7 @@
{
"Ref": "AWS::Partition"
},
":s3:::cdk-hnb659fds-assets-772514331817-us-east-1/*"
":s3:::cdk-hnb659fds-assets-12345678-test-region/*"
]
]
}
Expand Down Expand Up @@ -181,7 +181,7 @@
"Type": "AWS::Lambda::Function",
"Properties": {
"Code": {
"S3Bucket": "cdk-hnb659fds-assets-772514331817-us-east-1",
"S3Bucket": "cdk-hnb659fds-assets-12345678-test-region",
"S3Key": "a4c4da3d8af8741fce375f7ccc826c875d4a5c51f00b6aa09a1a90154236948e.zip"
},
"Environment": {
Expand Down Expand Up @@ -219,7 +219,7 @@
"DisableTemplateValidation": false,
"Info": {
"LoadTemplateFromURL": {
"Fn::Sub": "https://s3.us-east-1.${AWS::URLSuffix}/cdk-hnb659fds-assets-772514331817-us-east-1/b19855fc4d79148d4a4bcf46bdec84d2838a1ff6787e8aa2eaa98c0f7d8b9ac8.json"
"Fn::Sub": "https://s3.test-region.${AWS::URLSuffix}/cdk-hnb659fds-assets-12345678-test-region/b19855fc4d79148d4a4bcf46bdec84d2838a1ff6787e8aa2eaa98c0f7d8b9ac8.json"
}
},
"Name": "v1"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ServiceCatalogStack extends Stack {
super(scope, id, props);

const assetBucket = new s3.Bucket(this, 'AssetBucket', {
bucketName: 'asset-bucket-12345678-test-region',
bucketName: `asset-bucket-${this.account}-${this.region}`,
});

new sc.CloudFormationProduct(this, 'SampleProduct', {
Expand Down

0 comments on commit 29f7f41

Please sign in to comment.