Open ikanni opened 11 months ago
General question:
When we review the Cloud Control API doc for the AWS::Logs::LogStream List call is supported (related screen pasted below). Why terraform-provider-awscc is marking with suppress_plural_data_source_generation = true
for AWS::Logs::LogStream when the ListResources call fails?
Screen from the doc:
Community Note
Description
Is awscc_opensearchserverless_access_policies, awscc_opensearchserverless_security_configs/policies (Data Source) supported?
Terraform CLI and Terraform AWS Cloud Control Provider Version
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.
Debug Output
Log: https://gist.github.com/ikanni/f0d18ff9fc0a21377e45fe2197a95a44 Screenshot output:
Expected Behavior
Above resources should not be supported as the ListResources fails with error Required property: [Type] when tested separately.
Actual Behavior
Terraform document is telling that above resource is supported. But it fails when we try.
Steps to Reproduce
terraform init
terraform apply
References
Somehow the all_schemas.hcl does not have
suppress_plural_data_source_generation = true
for the above resource. But the generators/allschemas/available_schemas.2023-10-11.hcl has thesuppress_plural_data_source_generation = true