Skip to content

Commit

Permalink
Merge pull request #78 from DopplerHQ/nic/forcenew-secret
Browse files Browse the repository at this point in the history
Set ForceNew for doppler_secret project and config
  • Loading branch information
nmanoogian authored Feb 28, 2024
2 parents 2407bf2 + 2b2e9a5 commit c101141
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 c101141

Please sign in to comment.