diff --git a/internal/attestation/gcp/snp/BUILD.bazel b/internal/attestation/gcp/snp/BUILD.bazel index 3056543f4d..cd7bf70fc1 100644 --- a/internal/attestation/gcp/snp/BUILD.bazel +++ b/internal/attestation/gcp/snp/BUILD.bazel @@ -37,6 +37,11 @@ go_test( "validator_test.go", ], embed = [":snp"], + # keep + gotags = select({ + "//bazel/settings:tpm_simulator_enabled": [], + "//conditions:default": ["disable_tpm_simulator"], + }), deps = [ "//internal/attestation", "//internal/attestation/aws/snp/testdata",