dry-keyboard-94795
12/16/2022, 11:51 AMstack import
with resources from google-native
error: could not deserialize deployment: [400] Message authentication failed
--logtostderr -v=9
I1216 11:54:58.164067 119238 sink.go:153] defaultSink::Error(error: could not deserialize deployment: [400] Message authentication failed)
error: could not deserialize deployment: [400] Message authentication failed
many-telephone-49025
12/16/2022, 12:23 PMdry-keyboard-94795
12/16/2022, 12:23 PMmany-telephone-49025
12/16/2022, 12:24 PMdry-keyboard-94795
12/16/2022, 12:25 PMmany-telephone-49025
12/16/2022, 12:25 PMdry-keyboard-94795
12/16/2022, 12:25 PMcompute.BackendBucket
resource.
Was going to change it to using gcp classic, however we need to set a CDN policy, which is blocked by thismany-telephone-49025
12/16/2022, 12:27 PMdry-keyboard-94795
12/16/2022, 12:33 PMimport pulumi as p
from pulumi_gcp import compute, storage
from pulumi_google_native.compute import beta as compute_beta
bucket = storage.Bucket(
"bucket",
location="EU",
cors=[
storage.BucketCorArgs(
methods=["GET"],
origins=["*"],
)
],
storage_class="MULTI_REGIONAL",
uniform_bucket_level_access=True,
)
compute_beta.BackendBucket(
"backend-bucket",
bucket_name=bucket.name,
enable_cdn=True,
compression_mode=compute_beta.BackendBucketCompressionMode.AUTOMATIC,
cdn_policy=compute_beta.BackendBucketCdnPolicyArgs(
cache_mode=compute_beta.BackendBucketCdnPolicyCacheMode.USE_ORIGIN_HEADERS,
),
)
Forgot that it's the Beta variant of BackendBucket (compression wasn't GA at the time)--show-secrets
in the export