Skip to content

Commit 56f3078

Browse files
committed
fixed account-id
1 parent f557080 commit 56f3078

6 files changed

+19
-19
lines changed

codebuild-role.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"Sid": "SidLogGroup",
66
"Effect": "Allow",
77
"Resource": [
8-
"arn:aws:logs:us-west-2:605134454716:log-group:/aws/codebuild/*"
8+
"arn:aws:logs:us-west-2:111111:log-group:/aws/codebuild/*"
99
],
1010
"Action": [
1111
"logs:CreateLogGroup",
@@ -17,8 +17,8 @@
1717
"Sid": "SidCodeStarConnections",
1818
"Effect": "Allow",
1919
"Resource": [
20-
"arn:aws:codestar-connections:us-west-2:605134454716:connection*",
21-
"arn:aws:codeconnections:us-west-2:605134454716:connection*"
20+
"arn:aws:codestar-connections:us-west-2:111111:connection*",
21+
"arn:aws:codeconnections:us-west-2:111111:connection*"
2222
],
2323
"Action": [
2424
"codestar-connections:GetConnectionToken",
@@ -39,7 +39,7 @@
3939
"codebuild:BatchPutCodeCoverages"
4040
],
4141
"Resource": [
42-
"arn:aws:codebuild:us-west-2:605134454716:report-group/*"
42+
"arn:aws:codebuild:us-west-2:111111:report-group/*"
4343
]
4444
},
4545
{
@@ -54,8 +54,8 @@
5454
"s3:GetBucketLocation"
5555
],
5656
"Resource": [
57-
"arn:aws:s3:::codepipeline-us-west-2-605134454716",
58-
"arn:aws:s3:::codepipeline-us-west-2-605134454716/*"
57+
"arn:aws:s3:::codepipeline-us-west-2-111111",
58+
"arn:aws:s3:::codepipeline-us-west-2-111111/*"
5959
]
6060
}
6161
]

codebuildproj_batch.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"buildspec": "buildspec_batch.yml",
88
"auth": {
99
"type": "CODECONNECTIONS",
10-
"resource": "arn:aws:codeconnections:us-west-2:605134454716:connection/ff2197d3-60d4-4b4d-921f-34dcc99363fd"
10+
"resource": "<CODE_CONNECTION_ARN>"
1111
}
1212

1313
},
@@ -22,7 +22,7 @@
2222
"image": "aws/codebuild/amazonlinux-x86_64-standard:5.0",
2323
"computeType": "BUILD_GENERAL1_SMALL"
2424
},
25-
"serviceRole": "arn:aws:iam::605134454716:role/CodeBuildServiceRole",
25+
"serviceRole": "arn:aws:iam::111111:role/CodeBuildServiceRole",
2626
"logsConfig": {
2727
"cloudWatchLogs": {
2828
"status": "ENABLED",

codebuildproj_single.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"buildspec": "buildspec_single.yml",
88
"auth": {
99
"type": "CODECONNECTIONS",
10-
"resource": "arn:aws:codeconnections:us-west-2:605134454716:connection/ff2197d3-60d4-4b4d-921f-34dcc99363fd"
10+
"resource": "<CODE_CONNECTION_ARN>"
1111
}
1212

1313
},
@@ -22,7 +22,7 @@
2222
"image": "aws/codebuild/amazonlinux-x86_64-standard:5.0",
2323
"computeType": "BUILD_GENERAL1_SMALL"
2424
},
25-
"serviceRole": "arn:aws:iam::605134454716:role/CodeBuildServiceRole",
25+
"serviceRole": "arn:aws:iam::111111:role/CodeBuildServiceRole",
2626
"logsConfig": {
2727
"cloudWatchLogs": {
2828
"status": "ENABLED",

codedeployproj.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"computeType": "BUILD_GENERAL1_SMALL"
1919
},
2020

21-
"serviceRole": "arn:aws:iam::605134454716:role/CodeBuildServiceRole",
21+
"serviceRole": "arn:aws:iam::111111:role/CodeBuildServiceRole",
2222

2323
"logsConfig": {
2424
"cloudWatchLogs": {

codepipeline-role.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"Sid": "SidCodeStarConnections",
1313
"Effect": "Allow",
1414
"Resource": [
15-
"arn:aws:codestar-connections:us-west-2:605134454716:connection*",
16-
"arn:aws:codeconnections:us-west-2:605134454716:connection*"
15+
"arn:aws:codestar-connections:us-west-2:111111:connection*",
16+
"arn:aws:codeconnections:us-west-2:111111:connection*"
1717
],
1818
"Action": [
1919
"codestar-connections:GetConnectionToken",
@@ -33,7 +33,7 @@
3333
"logs:PutLogEvents"
3434
],
3535
"Resource": [
36-
"arn:aws:logs:us-east-1:605134454716:log-group:/aws/codepipeline/*"
36+
"arn:aws:logs:us-east-1:111111:log-group:/aws/codepipeline/*"
3737
]
3838
},
3939

@@ -49,8 +49,8 @@
4949
"s3:GetBucketLocation"
5050
],
5151
"Resource": [
52-
"arn:aws:s3:::codepipeline-us-west-2-605134454716",
53-
"arn:aws:s3:::codepipeline-us-west-2-605134454716/*"
52+
"arn:aws:s3:::codepipeline-us-west-2-111111",
53+
"arn:aws:s3:::codepipeline-us-west-2-111111/*"
5454
]
5555
}
5656

pipeline1.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"pipeline": {
33
"name": "pipleline-test1",
4-
"roleArn": "arn:aws:iam::605134454716:role/CodePipelineServiceRole",
4+
"roleArn": "arn:aws:iam::111111:role/CodePipelineServiceRole",
55
"artifactStore": {
66
"type": "S3",
7-
"location": "codepipeline-us-west-2-605134454716"
7+
"location": "codepipeline-us-west-2-111111"
88
},
99
"stages": [
1010
{
@@ -21,7 +21,7 @@
2121
"runOrder": 1,
2222
"configuration": {
2323
"BranchName": "main",
24-
"ConnectionArn": "arn:aws:codeconnections:us-west-2:605134454716:connection/ff2197d3-60d4-4b4d-921f-34dcc99363fd",
24+
"ConnectionArn": "<CODE_CONNECTION_ARN>",
2525
"DetectChanges": "true",
2626
"FullRepositoryId": "doitintl/aws-codebuild-sample",
2727
"OutputArtifactFormat": "CODE_ZIP"

0 commit comments

Comments
 (0)