OrganizationCustomPolicyRuleMetadata attribute not available in PutOrganizationConfigRule #3388
Labels
bug
This issue is a confirmed bug.
config
service-api
This issue is caused by the service API, not the SDK implementation.
Describe the bug
I'm trying to create an organizational custom config policy rule using Guard;
Boto3 docs:
I'm trying to use
OrganizationCustomPolicyRuleMetadata
. The API doc.Expected Behavior
Creation of the AWS Config Rule.
Current Behavior
Exception:
Reproduction Steps
I'm not completely sure on how to import the rule in the PolicyTest but it seems unrelated on how I'm adding the string. Same issue for empty string or oneliner rule.
Possible Solution
No response
Additional Information/Context
Update: It's probably an API issue and not boto3 specific:
An error occurred (InvalidParameterValueException) when calling the PutOrganizationConfigRule operation: Specify either OrganizationCustomRuleMetadata or OrganizationManagedRuleMetadata in the input.
SDK version used
1.24.48
Environment details (OS name and version, etc.)
macOS Monterey 12.3.1 Intel Core
The text was updated successfully, but these errors were encountered: