Skip to content

Commit

Permalink
fix: final fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
norman-zon committed Dec 18, 2024
1 parent 0334462 commit 36caf96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/_docs/04_reference/config-blocks-and-attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ remote_state {
encryption = {
key_provider = "pbkdf2"
passphrase = "SUPERSECRETPASSPHRASE"
passphrase = get_env("PBKDF2_PASSPHRASE")
}
}
```
Expand Down
5 changes: 3 additions & 2 deletions test/integration_tofu_state_encryption_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ const (
testFixtureTofuStateEncryptionGCPKMS = "fixtures/tofu-state-encryption/gcp-kms"
testFixtureTofuStateEncryptionAWSKMS = "fixtures/tofu-state-encryption/aws-kms"
gcpKMSKeyID = "projects/terragrunt-test/locations/global/keyRings/terragrunt-test/cryptoKeys/terragrunt-test-key"
awsKMSKeyID = "arn:aws:kms:us-west-2:123456789012:key/12345678-1234-1234-1234-123456789012"
awsKMSKeyID = "arn:aws:kms:us-east-1:087285199408:key/bd372994-d969-464a-a261-6cc850c58a92"
stateFile = "terraform.tfstate"
awsKMSKeyRegion = "us-west-2"
awsKMSKeyRegion = "us-east-1"
)

func TestTofuStateEncryptionPBKDF2(t *testing.T) {
Expand All @@ -39,6 +39,7 @@ func TestTofuStateEncryptionPBKDF2(t *testing.T) {
}

func TestTofuStateEncryptionGCPKMS(t *testing.T) {
t.Skip("Skipping test as the GCP KMS key is not available. You have to setup your own GCP KMS key to run this test.")
t.Parallel()

tmpEnvPath := helpers.CopyEnvironment(t, testFixtureTofuStateEncryptionGCPKMS)
Expand Down

0 comments on commit 36caf96

Please sign in to comment.