Skip to content

Commit e604bc2

Browse files
committed
minor: Create VM Import/Export role/permissions
1 parent 2fbc3ed commit e604bc2

File tree

2 files changed

+31
-45
lines changed

2 files changed

+31
-45
lines changed

.github/workflows/flowzone.yml

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -45,51 +45,6 @@ jobs:
4545
GH_APP_PRIVATE_KEY: ${{ secrets.GH_APP_PRIVATE_KEY }}
4646
with:
4747
jobs_timeout_minutes: 60
48-
repo_config: true
4948
repo_description: "AWS/GitOps automation"
5049
repo_enable_auto_merge: true
5150
repo_enable_merge_commit: true
52-
cloudformation_templates: >
53-
{
54-
"stacks": [
55-
{
56-
"name": "github-oidc-belodetek",
57-
"template": "aws/aws-cf-templates/operations/github-openid-connect.yaml",
58-
"params": [
59-
"GitHubRestriction=repo:belodetek/cfn-generic-custom-resource:*,repo:belodetek/.github:*",
60-
"RoleMaxSessionDuration=43200",
61-
"ManagedPolicyArns=arn:aws:iam::aws:policy/AWSCloudFormationFullAccess,arn:aws:iam::aws:policy/AmazonS3FullAccess,arn:aws:iam::aws:policy/IAMFullAccess,arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryPowerUser,arn:aws:iam::aws:policy/AmazonElasticContainerRegistryPublicPowerUser"
62-
],
63-
"tags": [
64-
"Name=github-oidc",
65-
"Environment=belodetek",
66-
"cost-function=shared",
67-
"cost-type=iam"
68-
],
69-
"capabilities": [
70-
"CAPABILITY_IAM",
71-
"CAPABILITY_NAMED_IAM"
72-
],
73-
"role": "arn:aws:iam::312433241086:role/github-oidc-belodetek-Role-exdwzug18ntp"
74-
},
75-
{
76-
"name": "cloudformation-s3-resources-playground",
77-
"template": "aws/aws-cf-templates/state/s3.yaml",
78-
"params": [
79-
"BucketName=cfn-601eb2aa-79a1-11ee-a866-0efcede062c7-us-east-1",
80-
"Versioning=false"
81-
],
82-
"tags": [
83-
"Name=cloudformation-s3-resources",
84-
"Environment=belodetek",
85-
"cost-function=shared",
86-
"cost-type=cloudformation"
87-
],
88-
"capabilities": [
89-
"CAPABILITY_IAM",
90-
"CAPABILITY_NAMED_IAM"
91-
],
92-
"role": "arn:aws:iam::312433241086:role/github-oidc-belodetek-Role-exdwzug18ntp"
93-
}
94-
]
95-
}

aws-cf-templates.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
stacks:
3+
- name: github-oidc-belodetek
4+
template: aws/aws-cf-templates/operations/github-openid-connect.yaml
5+
params:
6+
- GitHubRestriction=repo:belodetek/cfn-generic-custom-resource:*,repo:belodetek/.github:*
7+
- RoleMaxSessionDuration=43200
8+
- ManagedPolicyArns=arn:aws:iam::aws:policy/AWSCloudFormationFullAccess,arn:aws:iam::aws:policy/AmazonS3FullAccess,arn:aws:iam::aws:policy/IAMFullAccess,arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryPowerUser,arn:aws:iam::aws:policy/AmazonElasticContainerRegistryPublicPowerUser
9+
tags:
10+
- Name=github-oidc
11+
- Environment=belodetek
12+
- cost-function=shared
13+
- cost-type=iam
14+
capabilities:
15+
- CAPABILITY_IAM
16+
- CAPABILITY_NAMED_IAM
17+
role: arn:aws:iam::312433241086:role/github-oidc-belodetek-Role-exdwzug18ntp
18+
- name: cloudformation-s3-resources-playground
19+
template: aws/aws-cf-templates/state/s3.yaml
20+
params:
21+
- BucketName=cfn-601eb2aa-79a1-11ee-a866-0efcede062c7-us-east-1
22+
- Versioning=false
23+
tags:
24+
- Name=cloudformation-s3-resources
25+
- Environment=belodetek
26+
- cost-function=shared
27+
- cost-type=cloudformation
28+
capabilities:
29+
- CAPABILITY_IAM
30+
- CAPABILITY_NAMED_IAM
31+
role: arn:aws:iam::312433241086:role/github-oidc-belodetek-Role-exdwzug18ntp

0 commit comments

Comments
 (0)