Skip to content

Commit

Permalink
Set ForceNew for doppler_secret project and config
Browse files Browse the repository at this point in the history
  • Loading branch information
nmanoogian committed Feb 20, 2024
1 parent 2407bf2 commit 2b2e9a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doppler/resource_secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,15 @@ func resourceSecret() *schema.Resource {
Description: "The name of the Doppler project",
Type: schema.TypeString,
Required: true,
// Secrets cannot be moved directly from one project to another, they must be re-created
ForceNew: true,
},
"config": {
Description: "The name of the Doppler config",
Type: schema.TypeString,
Required: true,
// Secrets cannot be moved directly from one config to another, they must be re-created
ForceNew: true,
},
"name": {
Description: "The name of the Doppler secret",
Expand Down

0 comments on commit 2b2e9a5

Please sign in to comment.