File tree 6 files changed +19
-19
lines changed
6 files changed +19
-19
lines changed Original file line number Diff line number Diff line change 5
5
"Sid" : " SidLogGroup" ,
6
6
"Effect" : " Allow" ,
7
7
"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/*"
9
9
],
10
10
"Action" : [
11
11
" logs:CreateLogGroup" ,
17
17
"Sid" : " SidCodeStarConnections" ,
18
18
"Effect" : " Allow" ,
19
19
"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*"
22
22
],
23
23
"Action" : [
24
24
" codestar-connections:GetConnectionToken" ,
39
39
" codebuild:BatchPutCodeCoverages"
40
40
],
41
41
"Resource" : [
42
- " arn:aws:codebuild:us-west-2:605134454716 :report-group/*"
42
+ " arn:aws:codebuild:us-west-2:111111 :report-group/*"
43
43
]
44
44
},
45
45
{
54
54
" s3:GetBucketLocation"
55
55
],
56
56
"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 /*"
59
59
]
60
60
}
61
61
]
Original file line number Diff line number Diff line change 7
7
"buildspec" : " buildspec_batch.yml" ,
8
8
"auth" : {
9
9
"type" : " CODECONNECTIONS" ,
10
- "resource" : " arn:aws:codeconnections:us-west-2:605134454716:connection/ff2197d3-60d4-4b4d-921f-34dcc99363fd "
10
+ "resource" : " <CODE_CONNECTION_ARN> "
11
11
}
12
12
13
13
},
22
22
"image" : " aws/codebuild/amazonlinux-x86_64-standard:5.0" ,
23
23
"computeType" : " BUILD_GENERAL1_SMALL"
24
24
},
25
- "serviceRole" : " arn:aws:iam::605134454716 :role/CodeBuildServiceRole" ,
25
+ "serviceRole" : " arn:aws:iam::111111 :role/CodeBuildServiceRole" ,
26
26
"logsConfig" : {
27
27
"cloudWatchLogs" : {
28
28
"status" : " ENABLED" ,
Original file line number Diff line number Diff line change 7
7
"buildspec" : " buildspec_single.yml" ,
8
8
"auth" : {
9
9
"type" : " CODECONNECTIONS" ,
10
- "resource" : " arn:aws:codeconnections:us-west-2:605134454716:connection/ff2197d3-60d4-4b4d-921f-34dcc99363fd "
10
+ "resource" : " <CODE_CONNECTION_ARN> "
11
11
}
12
12
13
13
},
22
22
"image" : " aws/codebuild/amazonlinux-x86_64-standard:5.0" ,
23
23
"computeType" : " BUILD_GENERAL1_SMALL"
24
24
},
25
- "serviceRole" : " arn:aws:iam::605134454716 :role/CodeBuildServiceRole" ,
25
+ "serviceRole" : " arn:aws:iam::111111 :role/CodeBuildServiceRole" ,
26
26
"logsConfig" : {
27
27
"cloudWatchLogs" : {
28
28
"status" : " ENABLED" ,
Original file line number Diff line number Diff line change 18
18
"computeType" : " BUILD_GENERAL1_SMALL"
19
19
},
20
20
21
- "serviceRole" : " arn:aws:iam::605134454716 :role/CodeBuildServiceRole" ,
21
+ "serviceRole" : " arn:aws:iam::111111 :role/CodeBuildServiceRole" ,
22
22
23
23
"logsConfig" : {
24
24
"cloudWatchLogs" : {
Original file line number Diff line number Diff line change 12
12
"Sid" : " SidCodeStarConnections" ,
13
13
"Effect" : " Allow" ,
14
14
"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*"
17
17
],
18
18
"Action" : [
19
19
" codestar-connections:GetConnectionToken" ,
33
33
" logs:PutLogEvents"
34
34
],
35
35
"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/*"
37
37
]
38
38
},
39
39
49
49
" s3:GetBucketLocation"
50
50
],
51
51
"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 /*"
54
54
]
55
55
}
56
56
Original file line number Diff line number Diff line change 1
1
{
2
2
"pipeline" : {
3
3
"name" : " pipleline-test1" ,
4
- "roleArn" : " arn:aws:iam::605134454716 :role/CodePipelineServiceRole" ,
4
+ "roleArn" : " arn:aws:iam::111111 :role/CodePipelineServiceRole" ,
5
5
"artifactStore" : {
6
6
"type" : " S3" ,
7
- "location" : " codepipeline-us-west-2-605134454716 "
7
+ "location" : " codepipeline-us-west-2-111111 "
8
8
},
9
9
"stages" : [
10
10
{
21
21
"runOrder" : 1 ,
22
22
"configuration" : {
23
23
"BranchName" : " main" ,
24
- "ConnectionArn" : " arn:aws:codeconnections:us-west-2:605134454716:connection/ff2197d3-60d4-4b4d-921f-34dcc99363fd " ,
24
+ "ConnectionArn" : " <CODE_CONNECTION_ARN> " ,
25
25
"DetectChanges" : " true" ,
26
26
"FullRepositoryId" : " doitintl/aws-codebuild-sample" ,
27
27
"OutputArtifactFormat" : " CODE_ZIP"
You can’t perform that action at this time.
0 commit comments