Skip to content

fix:Group policy document issue #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions examples/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module "verified_access_iam_identity_center" {
trust_provider_type = "user"
user_trust_provider_type = "iam-identity-center"

group_policy_document = <<EOT
group_policy_document = <<-EOT
permit(principal, action, resource)
when {
context.IAM.user.email.address like "*@abc.com"
Expand Down Expand Up @@ -34,7 +34,7 @@ module "verified_access_oidc" {
token_endpoint = "https://dev-12345678.okta.com/oauth2/v1/token"
user_info_endpoint = "https://dev-12345678.okta.com/oauth2/v1/userinfo"

group_policy_document = <<EOT
group_policy_document = <<-EOT
permit(principal, action, resource)
when {
context.http_request.http_method != "INVALID_METHOD"
Expand Down Expand Up @@ -66,7 +66,7 @@ module "verified_access_eni_endpoint" {
protocol = "https"

tags = {
Name = "User manager endpoint"
Name = "Example verified access endpoint"
}
}

Expand All @@ -76,7 +76,7 @@ module "verified_access_elb_endpoint" {

verified_access_group_id = module.verified_access_oidc.verifiedaccess_group_id

description = "student-portal"
description = "Example"

application_domain = "example.my-domain.com"
domain_certificate_arn = module.acm.acm_certificate_arn
Expand All @@ -90,7 +90,7 @@ module "verified_access_elb_endpoint" {
subnet_ids = module.vpc.private_subnets

tags = {
Name = "student-portal"
Name = "Example verified access endpoint"
}
}

Expand Down