Skip to content

Commit a4ed289

Browse files
author
Julien Pivotto
authored
gitlab_project_mirror: Mark URL as sensitive (#458)
Signed-off-by: Julien Pivotto <[email protected]>
1 parent 30c49fd commit a4ed289

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

gitlab/resource_gitlab_project_mirror.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ func resourceGitlabProjectMirror() *schema.Resource {
3030
Computed: true,
3131
},
3232
"url": {
33-
Type: schema.TypeString,
34-
ForceNew: true,
35-
Required: true,
33+
Type: schema.TypeString,
34+
ForceNew: true,
35+
Required: true,
36+
Sensitive: true, // Username and password must be provided in the URL for https.
3637
},
3738
"enabled": {
3839
Type: schema.TypeBool,

0 commit comments

Comments
 (0)