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

Static websites on Azure Blob Storage #260

Closed
mikhailshilkov opened this issue May 24, 2019 · 3 comments
Closed

Static websites on Azure Blob Storage #260

mikhailshilkov opened this issue May 24, 2019 · 3 comments

Comments

@mikhailshilkov
Copy link
Member

I want to make a sample of Static website hosting in Azure Storage on Pulumi, with CDN, custom domain, etc.

However, it turned out that Terraform doesn't support this feature. And looks like it won't in the nearest future.

Apart from getting rid of terraform, my second-best idea is to use this case to illustrate how Pulumi could allow workarounds for missing features.

This comment suggests a trick in terraform by calling out to az CLI. My other idea is to use an embedded ARM template similar to this example.

What's the "official" guidance for this case? @lukehoban

@lukehoban
Copy link
Member

For one-off missing things, using an embedded ARM template is probably best (assuming it’s supported in ARM).

Next best is using dynamic providers to wrap az CLI invocations.

@mikhailshilkov
Copy link
Member Author

It appeared I was wrong and ARM doesn't support it either. Took a stab at implementing a dynamic provider, seems to work, see the PR above.

@mikhailshilkov
Copy link
Member Author

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