ovh / terraform-provider-ovh

Terraform OVH provider
https://registry.terraform.io/providers/ovh/ovh/latest/docs
Mozilla Public License 2.0
183 stars 134 forks source link

Add provider for okms service #709

Closed rcatolino closed 1 month ago

rcatolino commented 2 months ago

Description

This adds the possibility to order a KMS and create credentials and service keys.

I broke down the PR into multiple commits for the datasource/resources/tests. So it should be possible to review/test these independently.

I had to update the terraform-plugin-testing to v1.10 to be able to use the [compare](https://developer.hashicorp.com/terraform/plugin/testing/acceptance-tests/state-checks/resource#comparevalue-state-check) feature in the tests.

Type of change

How Has This Been Tested?

(The last 2 tests need to have a kms and a credential already created on the account used for the tests, so they are skipped in the CDS pipeline)

Checklist: