scaleway/terraform-provider-scaleway

scaleway_vpc_public_gateway: add a field to trigger ssh keys refresh

Codelax opened this issue ยท 0 comments

Community Note

  • Please vote on this issue by adding a ๐Ÿ‘ reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

API provides a RefreshSSHKeys route to trigger a refresh of SSH Keys allowed by public gateway's bastion.
We need a way in terraform to trigger this request.

New or Affected Resource(s)

  • scaleway_vpc_public_gateway

Potential Terraform Configuration

resource scaleway_vpc_public_gateway gateway {
  refresh_ssh_keys_hash = "hash"
}

This new field could contain whatever as string, changing it would use the RefreshSSHKeys route on the gateway.