Skip to content

Commit

Permalink
Merge pull request #2055 from peruzzof/csr-forcenew
Browse files Browse the repository at this point in the history
resource/cloudflare_origin_ca_certificate: trigger a replacement when `csr` is changed
  • Loading branch information
jacobbednarz authored Nov 25, 2022
2 parents ce3cd28 + be3f890 commit 2903925
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/2055.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/cloudflare_origin_ca_certificate: trigger a replacement when `csr` is changed
```
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ func resourceCloudflareOriginCACertificate() *schema.Resource {
return &schema.Resource{
Schema: resourceCloudflareOriginCACertificateSchema(),
CreateContext: resourceCloudflareOriginCACertificateCreate,
UpdateContext: resourceCloudflareOriginCACertificateCreate,
ReadContext: resourceCloudflareOriginCACertificateRead,
DeleteContext: resourceCloudflareOriginCACertificateDelete,
Importer: &schema.ResourceImporter{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ func resourceCloudflareOriginCACertificateSchema() map[string]*schema.Schema {
},
"csr": {
Type: schema.TypeString,
ForceNew: true,
Optional: true,
ValidateFunc: validateCSR,
Description: "The Certificate Signing Request. Must be newline-encoded.",
Expand Down

0 comments on commit 2903925

Please sign in to comment.