output "policy_ids" { description = "Both policies, for attaching to more targets later." value = { identities = aws_organizations_policy.rcp.id, resources = aws_organizations_policy.scp.id } } output "verify" { description = "Calls that must fail." value = <<-EOT From a member account, as any untagged role: aws s3 cp /etc/hostname s3:/// # explicit deny in a service control policy From an account outside the organisation, even with a bucket policy granting access: aws s3 ls s3:/// # explicit deny in a resource control policy EOT }