File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ module "github_actions_iam_role" {
2
+ source = " github.com/infraspecdev/terraform-aws-github-actions-iam-role?ref=main"
3
+ aws_account_id = var. aws_account_id
4
+ github_username = var. github_username
5
+ repository_names = var. repository_names
6
+ role_name = var. role_name
7
+ }
Original file line number Diff line number Diff line change
1
+ aws_account_id = "ACCOUNT_ID"
2
+ github_username = "GITHUB_USERNAME"
3
+ repository_names = "["REPO_NAME_1","REPO_NAME_1"]"
Original file line number Diff line number Diff line change
1
+ variable "aws_account_id" {
2
+ description = " The AWS Account ID"
3
+ type = string
4
+ }
5
+
6
+ variable "github_username" {
7
+ description = " GitHub Username"
8
+ type = string
9
+ }
10
+
11
+ variable "repository_names" {
12
+ description = " List of names of the GitHub repository that will be allowed to assume the role."
13
+ type = list (string )
14
+ }
15
+
16
+ variable "role_name" {
17
+ description = " Name of the IAM Role"
18
+ type = string
19
+ default = " GitHubActionsRole"
20
+ }
You can’t perform that action at this time.
0 commit comments