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
The resources should be provisioned without issues.
Steps to Reproduce
terraform apply
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.github: Creating...
module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.docker_hub: Creating...
β·
β Error: Provider returned invalid result object after apply
β
β After the apply operation, the provider still indicated an unknown value for
β module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.docker_hub.created_at. All values must be known after apply, so this is always a bug
β in the provider and should be reported in the provider's own repository. Terraform will still save the other known object values in the state.
β΅
β·
β Error: Provider returned invalid result object after apply
β
β After the apply operation, the provider still indicated an unknown value for
β module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.docker_hub.custom_role_arn. All values must be known after apply, so this is always a
β bug in the provider and should be reported in the provider's own repository. Terraform will still save the other known object values in the state.
β΅
β·
β Error: Provider returned invalid result object after apply
β
β After the apply operation, the provider still indicated an unknown value for
β module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.docker_hub.encryption_configuration. All values must be known after apply, so this is
β always a bug in the provider and should be reported in the provider's own repository. Terraform will still save the other known object values in the state.
β΅
β·
β Error: Provider returned invalid result object after apply
β
β After the apply operation, the provider still indicated an unknown value for
β module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.docker_hub.resource_tags. All values must be known after apply, so this is always a
β bug in the provider and should be reported in the provider's own repository. Terraform will still save the other known object values in the state.
β΅
β·
β Error: Provider returned invalid result object after apply
β
β After the apply operation, the provider still indicated an unknown value for
β module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.docker_hub.updated_at. All values must be known after apply, so this is always a bug
β in the provider and should be reported in the provider's own repository. Terraform will still save the other known object values in the state.
β΅
β·
β Error: Provider returned invalid result object after apply
β
β After the apply operation, the provider still indicated an unknown value for
β module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.github.created_at. All values must be known after apply, so this is always a bug in
β the provider and should be reported in the provider's own repository. Terraform will still save the other known object values in the state.
β΅
β·
β Error: Provider returned invalid result object after apply
β
β After the apply operation, the provider still indicated an unknown value for
β module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.github.custom_role_arn. All values must be known after apply, so this is always a bug
β in the provider and should be reported in the provider's own repository. Terraform will still save the other known object values in the state.
β΅
β·
β Error: Provider returned invalid result object after apply
β
β After the apply operation, the provider still indicated an unknown value for
β module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.github.encryption_configuration. All values must be known after apply, so this is
β always a bug in the provider and should be reported in the provider's own repository. Terraform will still save the other known object values in the state.
β΅
β·
β Error: Provider returned invalid result object after apply
β
β After the apply operation, the provider still indicated an unknown value for
β module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.github.resource_tags. All values must be known after apply, so this is always a bug in
β the provider and should be reported in the provider's own repository. Terraform will still save the other known object values in the state.
β΅
β·
β Error: Provider returned invalid result object after apply
β
β After the apply operation, the provider still indicated an unknown value for
β module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.github.updated_at. All values must be known after apply, so this is always a bug in
β the provider and should be reported in the provider's own repository. Terraform will still save the other known object values in the state.
β΅
β·
β Error: AWS Resource Not Found After Creation or Update
β
β with module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.docker_hub,
β on .terraform/modules/ecr_pull_through_cache/ecr-pullthroughcache/main.tf line 28, in resource "awscc_ecr_repository_creation_template" "docker_hub":
β 28: resource "awscc_ecr_repository_creation_template" "docker_hub" {
β
β After creating or updating the AWS resource and attempting to read the resource, the API returned a resource not found error. This is typically an error
β with the Terraform resource implementation. Original Error: couldn't find resource
β΅
β·
β Error: AWS Resource Not Found After Creation or Update
β
β with module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.github,
β on .terraform/modules/ecr_pull_through_cache/ecr-pullthroughcache/main.tf line 53, in resource "awscc_ecr_repository_creation_template" "github":
β 53: resource "awscc_ecr_repository_creation_template" "github" {
β
β After creating or updating the AWS resource and attempting to read the resource, the API returned a resource not found error. This is typically an error
β with the Terraform resource implementation. Original Error: couldn't find resource
<img width="1285" alt="image" src="https://github.com/user-attachments/assets/6c455d45-cc3e-4208-9fce-996a69dee9fb">
### Important Factoids
<!--- Are there anything atypical about your accounts that we should know? For example: Running in EC2 Classic? --->
### References
<!---
Information about referencing Github Issues: https://help.github.com/articles/basic-writing-and-formatting-syntax/#referencing-issues-and-pull-requests
Are there any other GitHub issues (open or closed) or pull requests that should be linked here? Vendor documentation? For example:
--->
Community Note
Terraform CLI and Terraform AWS Cloud Control Provider Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Actual Behavior
The resources should be provisioned without issues.
Steps to Reproduce
terraform apply
module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.github: Creating... module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.docker_hub: Creating... β· β Error: Provider returned invalid result object after apply β β After the apply operation, the provider still indicated an unknown value for β module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.docker_hub.created_at. All values must be known after apply, so this is always a bug β in the provider and should be reported in the provider's own repository. Terraform will still save the other known object values in the state. β΅ β· β Error: Provider returned invalid result object after apply β β After the apply operation, the provider still indicated an unknown value for β module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.docker_hub.custom_role_arn. All values must be known after apply, so this is always a β bug in the provider and should be reported in the provider's own repository. Terraform will still save the other known object values in the state. β΅ β· β Error: Provider returned invalid result object after apply β β After the apply operation, the provider still indicated an unknown value for β module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.docker_hub.encryption_configuration. All values must be known after apply, so this is β always a bug in the provider and should be reported in the provider's own repository. Terraform will still save the other known object values in the state. β΅ β· β Error: Provider returned invalid result object after apply β β After the apply operation, the provider still indicated an unknown value for β module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.docker_hub.resource_tags. All values must be known after apply, so this is always a β bug in the provider and should be reported in the provider's own repository. Terraform will still save the other known object values in the state. β΅ β· β Error: Provider returned invalid result object after apply β β After the apply operation, the provider still indicated an unknown value for β module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.docker_hub.updated_at. All values must be known after apply, so this is always a bug β in the provider and should be reported in the provider's own repository. Terraform will still save the other known object values in the state. β΅ β· β Error: Provider returned invalid result object after apply β β After the apply operation, the provider still indicated an unknown value for β module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.github.created_at. All values must be known after apply, so this is always a bug in β the provider and should be reported in the provider's own repository. Terraform will still save the other known object values in the state. β΅ β· β Error: Provider returned invalid result object after apply β β After the apply operation, the provider still indicated an unknown value for β module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.github.custom_role_arn. All values must be known after apply, so this is always a bug β in the provider and should be reported in the provider's own repository. Terraform will still save the other known object values in the state. β΅ β· β Error: Provider returned invalid result object after apply β β After the apply operation, the provider still indicated an unknown value for β module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.github.encryption_configuration. All values must be known after apply, so this is β always a bug in the provider and should be reported in the provider's own repository. Terraform will still save the other known object values in the state. β΅ β· β Error: Provider returned invalid result object after apply β β After the apply operation, the provider still indicated an unknown value for β module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.github.resource_tags. All values must be known after apply, so this is always a bug in β the provider and should be reported in the provider's own repository. Terraform will still save the other known object values in the state. β΅ β· β Error: Provider returned invalid result object after apply β β After the apply operation, the provider still indicated an unknown value for β module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.github.updated_at. All values must be known after apply, so this is always a bug in β the provider and should be reported in the provider's own repository. Terraform will still save the other known object values in the state. β΅ β· β Error: AWS Resource Not Found After Creation or Update β β with module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.docker_hub, β on .terraform/modules/ecr_pull_through_cache/ecr-pullthroughcache/main.tf line 28, in resource "awscc_ecr_repository_creation_template" "docker_hub": β 28: resource "awscc_ecr_repository_creation_template" "docker_hub" { β β After creating or updating the AWS resource and attempting to read the resource, the API returned a resource not found error. This is typically an error β with the Terraform resource implementation. Original Error: couldn't find resource β΅ β· β Error: AWS Resource Not Found After Creation or Update β β with module.ecr_pull_through_cache.awscc_ecr_repository_creation_template.github, β on .terraform/modules/ecr_pull_through_cache/ecr-pullthroughcache/main.tf line 53, in resource "awscc_ecr_repository_creation_template" "github": β 53: resource "awscc_ecr_repository_creation_template" "github" { β β After creating or updating the AWS resource and attempting to read the resource, the API returned a resource not found error. This is typically an error β with the Terraform resource implementation. Original Error: couldn't find resource