future-window-78560
03/18/2022, 5:50 AMprehistoric-activity-61023
03/18/2022, 8:56 AMpip freeze | grep pulumi
run from venv associated with Pulumi project.future-window-78560
03/18/2022, 11:53 AMbucket = gcp.storage.Bucket("flytebucket",
public_access_prevention=True,
)
prehistoric-activity-61023
03/18/2022, 2:48 PMpulumi-gcp
visible in pip freeze
output - that’s weirdpip freeze
to check what version of pulumi-gcp
you’re trying to use. Are you sure you listed the correct venv?future-window-78560
03/20/2022, 4:31 PMprehistoric-activity-61023
03/21/2022, 11:32 AMstr
instead of bool
but it was unrelated to the issue you had before. Let me see what it accepts.Even if a bucket does not have public access prevention explicitly enforced in its settings, it might still inherit public access prevention, which occurs if the organization policy constraintis set on the project, folder, or organization that the bucket exists within. For this reason, the bucket state can only be set tostorage.publicAccessPrevention
orenforced
.inherited
"enforced"