Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AccountBlobPropertiesArgs has no support for CORS #448

Closed
marklam opened this issue Jan 24, 2020 · 3 comments
Closed

AccountBlobPropertiesArgs has no support for CORS #448

marklam opened this issue Jan 24, 2020 · 3 comments

Comments

@marklam
Copy link

marklam commented Jan 24, 2020

As far as I can tell, changing the CORS settings for a storage account should be in Pulumi.Azure.Storage.Inputs.AccountBlobPropertiesArgs but it's missing - although they are present on AccountQueuePropertiesArgs.

@mikhailshilkov
Copy link
Member

Hi @marklam, thanks for the issue.
This feature is missing in the upstream provider. I'll close the issue here to track it upstream in hashicorp/terraform-provider-azurerm#19. There's a PR hashicorp/terraform-provider-azurerm#5425 so maybe it will be resolved soon.

@marklam
Copy link
Author

marklam commented Jan 24, 2020

Incidentally, after I opened this issue I realised that I can't establish the CORS rule at the time the StorageAccount is created, because the referring URL will be a site that is created using that StorageAccount (ie circular) reference.

@mikhailshilkov
Copy link
Member

Yeah, you probably have to hard-code the name of either the storage account or the site to work around that

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

No branches or pull requests

2 participants