Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit469288a

Browse files
committed
iso
1 parentff255be commit469288a

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

‎compliance_scp/iso/main.tf

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
# The below approved services are based off the list located here: https://aws.amazon.com/compliance/services-in-scope/
22

3-
data"template_file""iso_policy" {
4-
template=file("../templates/iso.json")
3+
data"http""iso_policy" {
4+
url="https://raw.githubusercontent.com/salesforce/aws-allowlister/main/examples/latest/ISO-AllowList-SCP.json"
5+
6+
request_headers={
7+
Accept="application/json"
8+
}
59
}
610

711
resource"aws_organizations_policy""allow_iso_services_policy" {
812
name="Allow ISO Services"
9-
description="Only allow ISO services as of 03/2021"
13+
description="Only allow ISO services."
1014

11-
content=data.template_file.iso_policy.rendered
15+
content=data.http.iso_policy.body
1216
}
1317

1418
resource"aws_organizations_policy_attachment""allow_iso_services_attachment" {
1519
policy_id=aws_organizations_policy.allow_iso_services_policy.id
1620
target_id=var.target_id
17-
}
21+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp