org-formation / aws-resource-providers

A community driven repository where you can find AWS Resource Type Providers for different purposes (including org-formation ones).
MIT License
88 stars 21 forks source link

Organizations Policy type should support Document as object #64

Open OlafConijn opened 3 years ago

OlafConijn commented 3 years ago

currently the Community::Organizations::Policy type supports specifying a policy document as a string (or using !Include).

if we would like to use expressions (or other org-formation functions) within the body of these policies they must be defined as an complex object and converted to a string (JSON.Stringify) only when interfacing with the Organizations API.