microsoft / microsoft/terraform-provider-msgraph
[Feature Request] write only body attribute for msgraph_update_resource
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 65
- Forks
- 25
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 6
Description
I am currently trying to provision application proxy applications through msgraph. To upload a certificate to msgraph I would have to send a secret in the body. This secret should not be saved to state. As the update resource is only executed once I guess it would not be necessary to save the complete value in state using a version number for the diff would be sufficient.
Proposal
Add the following attributes to msgraph_update_resource:
body_wo = string
body_wo_version = number
Benefits
It would be possible to get secret values from for example ephemeral "azurerm_key_vault_secret" and send them to msgraph.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the msgraph_update_resource entry point and inspect how body values and version numbers are persisted in state. Trace the existing update behavior, then verify that body_wo and body_wo_version allow a secret body to be sent to Microsoft Graph without retaining it in state, with version changes triggering updates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, terraform
- Domain
- api, infrastructure
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100