]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/commitdiff
Mark basic_pass sensitive
authorMat Schaffer <mat@schaffer.me>
Thu, 1 Feb 2018 07:08:10 +0000 (16:08 +0900)
committerMat Schaffer <mat@schaffer.me>
Thu, 1 Feb 2018 07:08:10 +0000 (16:08 +0900)
Avoids showing the password in plan output

statuscake/resource_statuscaketest.go

index 459c71a03742b6b933117ffd888b5869c74281c1..e82495588ab7e3d358dce70930cf9d4f070dc7b9 100644 (file)
@@ -123,8 +123,9 @@ func resourceStatusCakeTest() *schema.Resource {
                        },
 
                        "basic_pass": {
-                               Type:     schema.TypeString,
-                               Optional: true,
+                               Type:      schema.TypeString,
+                               Optional:  true,
+                               Sensitive: true,
                        },
 
                        "public": {