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
7a1edaed
Unverified
Commit
7a1edaed
authored
Aug 17, 2020
by
bsmedberg-xometry
Committed by
GitHub
Aug 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Allow modules/iam-assumable-role-with-oidc to work in govcloud (#83)
parent
f0c037c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
main.tf
modules/iam-assumable-role-with-oidc/main.tf
+3
-1
No files found.
modules/iam-assumable-role-with-oidc/main.tf
View file @
7a1edaed
...
...
@@ -4,6 +4,8 @@ locals {
data
"aws_caller_identity"
"current"
{}
data
"aws_partition"
"current"
{}
data
"aws_iam_policy_document"
"assume_role_with_oidc"
{
count
=
var
.
create_role
?
1
:
0
...
...
@@ -16,7 +18,7 @@ data "aws_iam_policy_document" "assume_role_with_oidc" {
type
=
"Federated"
identifiers
=
[
"arn:
aws
:iam::
${
local
.
aws_account_id
}
:oidc-provider/
${
var
.
provider_url
}
"
"arn:
${data
.
aws_partition
.
current
.
partition
}
:iam::
${
local
.
aws_account_id
}
:oidc-provider/
${
var
.
provider_url
}
"
]
}
...
...
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