Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Bug]: Missing resources cause provider to fail #121

Open
Labels
bugSomething isn't working
@dmikalova

Description

@dmikalova

What happened?

After manually removing a resource from codefresh, a subsequent terraform run errors out bc the API respond that the resource no longer exists. The TF provider should instead handle this to mean that the resource no longer exists and then tries to recreate it.

TF error:

╷│ Error: 500 Internal Server Error, {"status":500,"code":"1001","name":"INTERNAL_SERVER_ERROR","message":"Internal server error","context":{}}│ │   with codefresh_registry.aws_ecr_prod_usw2,│   on ecr.tf line 1, in resource "codefresh_registry" "aws_ecr_prod_usw2":│    1: resource "codefresh_registry" "aws_ecr_prod_usw2" {│ ╵[01H2TSVYBV0A9ZAWNQD8Q5TSHR] Unexpected exit code when planning changes: 1

Version

codefresh-io/codefresh v0.4.1

Relevant Terraform Configuration

# Apply this, delete the registry manually in codefresh, and then try to apply againresource"codefresh_registry""aws_ecr_prod_usw2" {default=truename="aws-ecr-prod-usw2"primary=truespec {ecr {access_key_id=var.ecr_aws_access_key_id_prod_usw2region="us-west-2"secret_access_key=var.ecr_aws_secret_access_key_prod_usw2    }  }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp