Open yanilov opened 1 month ago
Thank you for opening the issue @yanilov . Opening an internal service ticket to review the schema as the list-resources using CC API returns a similar message.
aws cloudcontrol list-resources --type-name AWS::SSO::Assignment
An error occurred (InvalidRequestException) when calling the ListResources operation:
Missing Or Invalid ResourceModel property in AWS::SSO::Assignment
list handler request input.
Required property: [InstanceArn, PermissionSetArn,
PrincipalId, PrincipalType, TargetId, TargetType]
Community Note
Terraform CLI and Terraform AWS Cloud Control Provider Version
Terraform v1.9.6 on darwin_arm64
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Expected Behavior
terraform plan
is able to get the list of assignments and populate the data source.Actual Behavior
plan fails due to missing required properties:
Steps to Reproduce
aws sso login
and log into the organization's management accounttf plan -var region=<REGION>
, specifying the region in which the SSO instance is deployed, e.g.tf plan -var region=us-east-1