Skip to content

Incomplete appservice.tf config #11

@d-kleine

Description

@d-kleine

@erickgalinkin @SudKul

I have recently completed this nano degree, and this was by far the most difficult project I have ever done at Udacity. Therefore, I wanted to feed back the biggest issue for me with respect to the starter code:

In terraform/modules/appservice, please see appservice.tf:

  • As the instructions state, you should set "WEBSITE_RUN_FROM_PACKAGE" to zero, which I have added by myself.
  • The starter code is also missing an application_stack. Without it, the app service will be deployed then, but the FakeRestAPI won't run on it. It will then say:
    Forbidden

I could resolve this by taking a look into the knowledge section of this program, and someone provided the missing part:
Application stack

I have implemented everything like that:

...
  app_settings = {
    "WEBSITE_RUN_FROM_PACKAGE" = 0
  }
  site_config {
    always_on = false
    
    application_stack{
      current_stack = "dotnet"
      dotnet_version = "v4.0"
    }
  }
}

(Out of convenience, I have also used Windows instead of Linux too, if this makes any difference)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions