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

resourcecoderd_template doesn't handle out-of-band change well #272

Open
@jatcod3r

Description

@jatcod3r

Provider Version: 0.0.12

If a template is deleted out-of-band, the provider requires 2terraform apply calls. Not sure if this is by design, but on the firstterraform apply, it already sees that the resource is missing. Instead of creating the template though, it returnsTemplate with ID **** not found. Marking as deleted., then fails with an inconsistent final plan. Applying changes a second time resolves this issue. Error below for reference:

╷│ Warning: Client Warning│ │   with coderd_template.test,│   on main.tf line 18, in resource "coderd_template" "test":│   18: resource "coderd_template" "test" {│ │ Template with ID 640963de-4921-4195-aa08-2410d849874b not found. Marking as deleted.╵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╷│ Error: Provider produced inconsistent final plan│ │ When expanding the plan for coderd_template.test to include new values learned so far during apply, provider│ "registry.terraform.io/coder/coderd" produced an invalid new value for .versions[0].id: was known, but now unknown.│ │ This is a bug in the provider, which should be reported in the provider's own issue tracker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp