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
Terraform used the selected providers to generate the following execution plan. Resource
actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# module.agp.infisical_project_environment.testing will be created
+ resource "infisical_project_environment""testing" {
+ id = (known after apply)
+ name = "testing"
+ position = (known after apply)
+ project_id = "somenumbers"
+ slug = "testing"
}
Plan: 1 to add, 0 to change, 0 to destroy.
terraform state list shows that resource has been added to the state.
However running plan again shows that environment will be added once more.
No surprise second apply fails because environment already exists.
│ Couldn't save project environment, unexpected error: CallCreateProjectEnvironment:│ Unsuccessful response. [response={"statusCode":400,"message":"Environment with slug already│ exist","error":"Create envv"}]
Provider version v0.12.4
The text was updated successfully, but these errors were encountered:
Following the official docs I've created an environment for the project, after running apply environment is created.
terraform plan
terraform apply
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
Environment created
terraform state list
shows that resource has been added to the state.However running plan again shows that environment will be added once more.
No surprise second apply fails because environment already exists.
Provider version v0.12.4
The text was updated successfully, but these errors were encountered: