Skip to content

Commit d7bfd9b

Browse files
authored
Merge pull request #2 from SPHTech-Platform/fix-policy-document
fix:Group policy document issue
2 parents ef40a6d + d228813 commit d7bfd9b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/main.tf

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module "verified_access_iam_identity_center" {
66
trust_provider_type = "user"
77
user_trust_provider_type = "iam-identity-center"
88

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

37-
group_policy_document = <<EOT
37+
group_policy_document = <<-EOT
3838
permit(principal, action, resource)
3939
when {
4040
context.http_request.http_method != "INVALID_METHOD"
@@ -66,7 +66,7 @@ module "verified_access_eni_endpoint" {
6666
protocol = "https"
6767

6868
tags = {
69-
Name = "User manager endpoint"
69+
Name = "Example verified access endpoint"
7070
}
7171
}
7272

@@ -76,7 +76,7 @@ module "verified_access_elb_endpoint" {
7676

7777
verified_access_group_id = module.verified_access_oidc.verifiedaccess_group_id
7878

79-
description = "student-portal"
79+
description = "Example"
8080

8181
application_domain = "example.my-domain.com"
8282
domain_certificate_arn = module.acm.acm_certificate_arn
@@ -90,7 +90,7 @@ module "verified_access_elb_endpoint" {
9090
subnet_ids = module.vpc.private_subnets
9191

9292
tags = {
93-
Name = "student-portal"
93+
Name = "Example verified access endpoint"
9494
}
9595
}
9696

0 commit comments

Comments
 (0)