We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentff255be commit469288aCopy full SHA for 469288a
compliance_scp/iso/main.tf
@@ -1,17 +1,21 @@
1
# The below approved services are based off the list located here: https://aws.amazon.com/compliance/services-in-scope/
2
3
-data"template_file""iso_policy" {
4
-template=file("../templates/iso.json")
+data"http""iso_policy" {
+url="https://raw.githubusercontent.com/salesforce/aws-allowlister/main/examples/latest/ISO-AllowList-SCP.json"
5
+
6
+request_headers={
7
+ Accept="application/json"
8
+ }
9
}
10
11
resource"aws_organizations_policy""allow_iso_services_policy" {
12
name="Allow ISO Services"
-description="Only allow ISO services as of 03/2021"
13
+description="Only allow ISO services."
14
-content=data.template_file.iso_policy.rendered
15
+content=data.http.iso_policy.body
16
17
18
resource"aws_organizations_policy_attachment""allow_iso_services_attachment" {
19
policy_id=aws_organizations_policy.allow_iso_services_policy.id
20
target_id=var.target_id
-}
21
+}