Skip to content
This repository has been archived by the owner on Feb 26, 2025. It is now read-only.

Add implementation for "secret" datasource #81

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

stuart-mclaren-hpe
Copy link
Contributor

Update the boiler plate to actually implement the required API calls.
Add tests, examples, etc.

These changes mean that we can now read existing "secrets" and add them to,
eg, hypervisor server definitions.

data "hpegl_pc_secret" "my_secret" {
  name = "mysecret1"
}
.
.
.
esx_root_credential_id  = data.hpegl_pc_secret.my_secret.id

@stuart-mclaren-hpe stuart-mclaren-hpe marked this pull request as ready for review December 16, 2024 12:07
Update the boiler plate to actually implement the required API calls.
Add tests, examples, etc.

These changes mean that we can now read existing "secrets" and
add them to, eg, hypervisor server definitions.

```
data "hpegl_pc_secret" "my_secret" {
  name = "mysecret1"
}
.
.
.
esx_root_credential_id  = data.hpegl_pc_secret.my_secret.id
```
@stuart-mclaren-hpe stuart-mclaren-hpe merged commit 4d0d5d4 into main Dec 16, 2024
5 checks passed
@stuart-mclaren-hpe stuart-mclaren-hpe deleted the secret-datasource-4 branch December 16, 2024 13:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants