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

Deploying Azure App service plans into App service environments #17124

Closed
ghost opened this issue Jan 17, 2018 · 4 comments
Closed

Deploying Azure App service plans into App service environments #17124

ghost opened this issue Jan 17, 2018 · 4 comments

Comments

@ghost
Copy link

ghost commented Jan 17, 2018

Hey everyone,
I currently have a need to deploy an ASE with some underlying ASP'S that will host a handful of web apps. Given that i do not see an associated ASE resource for terraform i'm using the azurerm_template_deployment to deploy the ASE, which is fine.

Ideally i would like to deploy the ASPS and Web apps using native terraform resources and just deploy the ASE using the ARM deployment resource. In ARM the deployment for an ASP which resides within an ASE has a property for the ASE resource id this looks like :

       "apiVersion": "2015-08-01",
        "name": "[parameters('appServicePlanName')]",
        "type": "Microsoft.Web/serverfarms",
        "location": "[parameters('existingAseLocation')]",
        "properties": {
            "name": "[parameters('appServicePlanName')]",
            **"hostingEnvironmentProfile": {
                 "id": "[resourceId('Microsoft.Web/hostingEnvironments',parameters('appServiceEnvironmentName'))]"
            }**
        },

Trouble is, i cannot find an argument in the terraform ASP resource that represents the ASE resource ID (hostingEnvironmentProfile in the above).

Assuming i have not overlooked anything and this is not currently a feature in terraform today - could it be added?

Also, if there is a known workaround for this situation, outside of putting the ASPS in ARM, could someone please let me know?

@hashibot
Copy link
Contributor

This issue has been automatically migrated to hashicorp/terraform-provider-azurerm#712 because it looks like an issue with that provider. If you believe this is not an issue with the provider, please reply to this issue and let us know.

@rifaterdemsahin
Copy link

what is the state on this one ?

@mildwonkey
Copy link
Contributor

@rifaterdemsahin this issue was moved to terraform-providers/terraform-provider-azurerm#712 - you can follow that issue for status (it looks like a fix was merged).

@github-actions
Copy link
Contributor

github-actions bot commented Jun 2, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants