Skip to content

fix(azure): create Pulumi state storage accounts as StorageV2#323

Open
amdove wants to merge 1 commit into
mainfrom
azure-state-account-storagev2
Open

fix(azure): create Pulumi state storage accounts as StorageV2#323
amdove wants to merge 1 commit into
mainfrom
azure-state-account-storagev2

Conversation

@amdove

@amdove amdove commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary

The bootstrap step created the Pulumi state storage account with the legacy BlobStorage account kind. This switches new accounts to StorageV2, the current general-purpose kind.

StorageV2 is a superset of BlobStorage. Pulumi state access (block blobs via the azblob:// backend) is functionally identical. The legacy BlobStorage kind lacks some newer security/network properties that customer security baselines (Azure Policy) evaluate against, so StorageV2 is the cleaner compliance baseline.

Scope / impact

  • New workloads only. CreateStorageAccount is guarded by an existence check in bootstrap, so this does not touch existing accounts.
  • Existing accounts can be upgraded in place, no downtime, via:
    az storage account update --name <acct> --resource-group <rg> --set kind=StorageV2
    (in-place metadata change — keeps name, endpoints, keys, data; one-way.)

Testing

  • go build ./..., go vet ./azure/... pass
  • Pre-commit hooks (lib) pass

🤖 Generated with Claude Code

The bootstrap step created the Pulumi state storage account with the legacy
BlobStorage kind. StorageV2 is the current general-purpose kind and a superset;
block-blob state access via the azblob:// backend is unchanged. The legacy kind
also lacks newer security/network properties that some customer security
baselines (Azure Policy) evaluate against.

Only affects newly bootstrapped workloads (CreateStorageAccount is guarded by
an existence check). Existing accounts can be upgraded in place via
`az storage account update --set kind=StorageV2` with no downtime.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@amdove amdove changed the title Create Pulumi state storage accounts as StorageV2 fix(azure): create Pulumi state storage accounts as StorageV2 Jun 18, 2026
@amdove amdove marked this pull request as ready for review June 18, 2026 22:19
@amdove amdove requested a review from a team as a code owner June 18, 2026 22:19
@amdove amdove requested a review from stevenolen June 18, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant