Skip to content

Commit

Permalink
fix: mongodbatlas_encryption_at_rest resource with google_cloud_kms_c…
Browse files Browse the repository at this point in the history
…onfig (#1962)
  • Loading branch information
DasLampe authored Feb 20, 2024
1 parent 4d52857 commit c371c12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func (r *encryptionAtRestRS) Create(ctx context.Context, req resource.CreateRequ
if encryptionAtRestPlan.AzureKeyVaultConfig != nil {
encryptionAtRestReq.AzureKeyVault = NewAtlasAzureKeyVault(encryptionAtRestPlan.AzureKeyVaultConfig)
}
if encryptionAtRestPlan.AzureKeyVaultConfig != nil {
if encryptionAtRestPlan.GoogleCloudKmsConfig != nil {
encryptionAtRestReq.GoogleCloudKms = NewAtlasGcpKms(encryptionAtRestPlan.GoogleCloudKmsConfig)
}

Expand Down

0 comments on commit c371c12

Please sign in to comment.