You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The resources and data sources in this provider are generated from the CloudFormation schema, so they can only support the actions that the underlying schema supports. For this reason submitted bugs should be limited to defects in the generation and runtime code of the provider. Customizing behavior of the resource, or noting a gap in behavior are not valid bugs and should be submitted as enhancements to AWS via the CloudFormation Open Coverage Roadmap.
Terraform CLI and Terraform AWS Cloud Control Provider Version
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
# Copy-paste your Terraform configurations here - for large Terraform configs,resource"awscc_logs_log_group""this" {
log_group_name="SampleLogGroup"retention_in_days=90tags=[
{
key ="Name"
value ="SampleLogGroup"
},
{
key ="Environment"
value ="Development"
},
{
key ="Modified By"
value ="AWSCC"
}
]
}
resource"awscc_logs_log_stream""this" {
log_group_name=awscc_logs_log_group.this.idlog_stream_name="SampleStream"
}
# please use a service like Dropbox and share a link to the ZIP file. For# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorp
Debug Output
Panic Output
Expected Behavior
Terraform destroy command should have been executed successfully and delete the resource.
Actual Behavior
Terraform destroy failed with below error
│ Error: Terraform Resource Identifier Not Found
│
│ with awscc_logs_log_stream.this,
│ on cloudwatch_log_stream.tf line 20, in resource "awscc_logs_log_stream""this":
│ 20: resource "awscc_logs_log_stream""this" {
│
│ Terraform resource primary identifier not found in State. This is typically an error with the Terraform provider implementation. Original Error: 1 error occurred:
│ * An unexpected error was encountered trying to build a value. This is always an error in the provider. Please report the following to the provider developer:
│
│ Received null value, however the target type cannot handle null values. Use the corresponding `types` package type, a pointer type or a custom type that handles null values.
│
│ Path: id
│ Target Type: string
│ Suggested `types` Type: basetypes.StringValue
│ Suggested Pointer Type: *string
Steps to Reproduce
terraform apply
terraform destroy
Important Factoids
References
#0000
The text was updated successfully, but these errors were encountered:
I'm a little confused by this resource (schema). The schema indicates that the resource returns a primary identifier Id - but it does not seem to. Because of the top-level Id the synthetic ID creation is disabled during generation.
Digging a bit further, this "cached" definition in this repository is not up-to-date (compared to running aws cloudformation describe-type .... In turn, the schema that spits out contains properties not included in the meta-schema. See aws-cloudformation/cloudformation-resource-schema#145.
Community Note
Terraform CLI and Terraform AWS Cloud Control Provider Version
Terraform v1.2.9
on darwin_arm64
Your version of Terraform is out of date! The latest version
is 1.4.6. You can update by downloading from https://www.terraform.io/downloads.html
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
Panic Output
Expected Behavior
Terraform destroy command should have been executed successfully and delete the resource.
Actual Behavior
Terraform destroy failed with below error
Steps to Reproduce
terraform apply
terraform destroy
Important Factoids
References
The text was updated successfully, but these errors were encountered: