Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
terraform-aws-iam
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Terraform Modules
terraform-aws-iam
Commits
833d86ba
Unverified
Commit
833d86ba
authored
Oct 16, 2020
by
Kostas Stavropoulos
Committed by
GitHub
Oct 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: Add role description variable for assumable role with oidc (#98)
parent
d315f1f5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
README.md
modules/iam-assumable-role-with-oidc/README.md
+1
-0
main.tf
modules/iam-assumable-role-with-oidc/main.tf
+1
-0
variables.tf
modules/iam-assumable-role-with-oidc/variables.tf
+6
-0
No files found.
modules/iam-assumable-role-with-oidc/README.md
View file @
833d86ba
...
@@ -33,6 +33,7 @@ This module supports IAM Roles for kubernetes service accounts as described in t
...
@@ -33,6 +33,7 @@ This module supports IAM Roles for kubernetes service accounts as described in t
| provider
\_
url | URL of the OIDC Provider. Use provider
\_
urls to specify several URLs. |
`string`
|
`""`
| no |
| provider
\_
url | URL of the OIDC Provider. Use provider
\_
urls to specify several URLs. |
`string`
|
`""`
| no |
| provider
\_
urls | List of URLs of the OIDC Providers |
`list(string)`
|
`[]`
| no |
| provider
\_
urls | List of URLs of the OIDC Providers |
`list(string)`
|
`[]`
| no |
| role
\_
name | IAM role name |
`string`
|
`""`
| no |
| role
\_
name | IAM role name |
`string`
|
`""`
| no |
| role
\_
description | IAM Role description |
`string`
|
`""`
| no |
| role
\_
path | Path of IAM role |
`string`
|
`"/"`
| no |
| role
\_
path | Path of IAM role |
`string`
|
`"/"`
| no |
| role
\_
permissions
\_
boundary
\_
arn | Permissions boundary ARN to use for IAM role |
`string`
|
`""`
| no |
| role
\_
permissions
\_
boundary
\_
arn | Permissions boundary ARN to use for IAM role |
`string`
|
`""`
| no |
| role
\_
policy
\_
arns | List of ARNs of IAM policies to attach to IAM role |
`list(string)`
|
`[]`
| no |
| role
\_
policy
\_
arns | List of ARNs of IAM policies to attach to IAM role |
`list(string)`
|
`[]`
| no |
...
...
modules/iam-assumable-role-with-oidc/main.tf
View file @
833d86ba
...
@@ -54,6 +54,7 @@ resource "aws_iam_role" "this" {
...
@@ -54,6 +54,7 @@ resource "aws_iam_role" "this" {
count
=
var
.
create_role
?
1
:
0
count
=
var
.
create_role
?
1
:
0
name
=
var
.
role_name
name
=
var
.
role_name
description
=
var
.
role_description
path
=
var
.
role_path
path
=
var
.
role_path
max_session_duration
=
var
.
max_session_duration
max_session_duration
=
var
.
max_session_duration
...
...
modules/iam-assumable-role-with-oidc/variables.tf
View file @
833d86ba
...
@@ -34,6 +34,12 @@ variable "role_name" {
...
@@ -34,6 +34,12 @@ variable "role_name" {
default
=
""
default
=
""
}
}
variable
"role_description"
{
description
=
"IAM Role description"
type
=
string
default
=
""
}
variable
"role_path"
{
variable
"role_path"
{
description
=
"Path of IAM role"
description
=
"Path of IAM role"
type
=
string
type
=
string
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment