Skip to content

Commit

Permalink
feat: output password for pgd (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
wai-wong-edb authored Nov 29, 2023
1 parent 2c6f304 commit 7f9a62b
Show file tree
Hide file tree
Showing 13 changed files with 120 additions and 0 deletions.
60 changes: 60 additions & 0 deletions docs/resources/pgd.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ resource "biganimal_pgd" "pgd_cluster" {
},
]
}
output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
```

## PGD Azure Two Data Groups with One Witness Group Example
Expand Down Expand Up @@ -259,6 +264,11 @@ resource "biganimal_pgd" "pgd_cluster" {
}
]
}
output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
```

## PGD Azure BigAnimal's cloud account One Data Group Example
Expand Down Expand Up @@ -356,6 +366,11 @@ resource "biganimal_pgd" "pgd_cluster" {
},
]
}
output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
```

## PGD Azure BigAnimal's cloud account Two Data Groups with One Witness Group Example
Expand Down Expand Up @@ -525,6 +540,11 @@ resource "biganimal_pgd" "pgd_cluster" {
}
]
}
output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
```

## PGD AWS One Data Group Example
Expand Down Expand Up @@ -619,6 +639,11 @@ resource "biganimal_pgd" "pgd_cluster" {
}
]
}
output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
```

## PGD AWS Two Data Groups with One Witness Group Example
Expand Down Expand Up @@ -782,6 +807,11 @@ resource "biganimal_pgd" "pgd_cluster" {
}
]
}
output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
```

## PGD AWS BigAnimal's cloud account One Data Group Example
Expand Down Expand Up @@ -879,6 +909,11 @@ resource "biganimal_pgd" "pgd_cluster" {
}
]
}
output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
```

## PGD AWS BigAnimal's cloud account Two Data Groups with One Witness Group Example
Expand Down Expand Up @@ -1048,6 +1083,11 @@ resource "biganimal_pgd" "pgd_cluster" {
}
]
}
output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
```

## PGD GCP One Data Group Example
Expand Down Expand Up @@ -1142,6 +1182,11 @@ resource "biganimal_pgd" "pgd_cluster" {
}
]
}
output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
```

## PGD GCP Two Data Groups with One Witness Group Example
Expand Down Expand Up @@ -1305,6 +1350,11 @@ resource "biganimal_pgd" "pgd_cluster" {
}
]
}
output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
```

## PGD GCP BigAnimal's cloud account One Data Group Example
Expand Down Expand Up @@ -1406,6 +1456,11 @@ resource "biganimal_pgd" "pgd_cluster" {
}
]
}
output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
```

## PGD GCP BigAnimal's cloud account Two Data Groups with One Witness Group Example
Expand Down Expand Up @@ -1583,6 +1638,11 @@ resource "biganimal_pgd" "pgd_cluster" {
}
]
}
output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
```

<!-- schema generated by tfplugindocs -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,8 @@ resource "biganimal_pgd" "pgd_cluster" {
}
]
}

output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
Original file line number Diff line number Diff line change
Expand Up @@ -163,3 +163,8 @@ resource "biganimal_pgd" "pgd_cluster" {
}
]
}

output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
5 changes: 5 additions & 0 deletions examples/resources/biganimal_pgd/aws/data_group/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,8 @@ resource "biganimal_pgd" "pgd_cluster" {
}
]
}

output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,8 @@ resource "biganimal_pgd" "pgd_cluster" {
}
]
}

output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,8 @@ resource "biganimal_pgd" "pgd_cluster" {
},
]
}

output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
Original file line number Diff line number Diff line change
Expand Up @@ -163,3 +163,8 @@ resource "biganimal_pgd" "pgd_cluster" {
}
]
}

output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
5 changes: 5 additions & 0 deletions examples/resources/biganimal_pgd/azure/data_group/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,8 @@ resource "biganimal_pgd" "pgd_cluster" {
},
]
}

output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,8 @@ resource "biganimal_pgd" "pgd_cluster" {
}
]
}

output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,8 @@ resource "biganimal_pgd" "pgd_cluster" {
}
]
}

output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,8 @@ resource "biganimal_pgd" "pgd_cluster" {
}
]
}

output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
5 changes: 5 additions & 0 deletions examples/resources/biganimal_pgd/gcp/data_group/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,8 @@ resource "biganimal_pgd" "pgd_cluster" {
}
]
}

output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,8 @@ resource "biganimal_pgd" "pgd_cluster" {
}
]
}

output "password" {
sensitive = true
value = resource.biganimal_pgd.pgd_cluster.password
}

0 comments on commit 7f9a62b

Please sign in to comment.