Skip to content

Commit

Permalink
Don't force new cert if cert data or password changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-french committed Jul 3, 2019
1 parent 6e6485f commit 3168f48
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions octopusdeploy/resource_certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,14 @@ func resourceCertificate() *schema.Resource {
Optional: true,
},
"certificate_data": {
Type: schema.TypeString,
Required: true,
Type: schema.TypeString,
Required: true,
Sensitive: true,
ForceNew: true,
},
"password": {
Type: schema.TypeString,
Optional: true,
"password": {
Type: schema.TypeString,
Optional: true,
Sensitive: true,
ForceNew: true,
},
"environment_ids": {
Type: schema.TypeList,
Expand Down

0 comments on commit 3168f48

Please sign in to comment.