Code Monkey home page Code Monkey logo

cfn-ps-microsoft-iis's Introduction

Microsoft IIS on the AWS Cloud - Quick Start

For architectural details, step-by-step instructions, and customization options, see the deployment guide.

To post feedback, submit feature ideas, or report bugs, use the Issues section of this GitHub repo.

To submit code for this Quick Start, see the AWS Quick Start Contributor's Kit.

cfn-ps-microsoft-iis's People

Contributors

davmayd avatar vsnyc avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

davmayd

cfn-ps-microsoft-iis's Issues

Sub-sub stacks can't deploy with default parameters

With default parameters, QSS3BucketName is set to aws-ia in iis-main.template.yaml. This is passed through verbatim to IISStack, which launches further sub-stacks like:

  SecurityStack:
    Type: AWS::CloudFormation::Stack
    Properties:
      TemplateURL: !Sub 'https://${QSS3BucketName}.s3.${AWS::URLSuffix}/${QSS3KeyPrefix}templates/security.template.yaml'

That template URL resolves to https://aws-ia.s3.amazonaws.com/cfn-ps-microsoft-iis/templates/security.template.yaml, which gives a 403. It seems that either assets are missing in that bucket or permissions are misconfigured.

Modifying the first nested stack (IISStack)'s parameter value for QSS3BucketName from

          QSS3BucketName: !Ref 'QSS3BucketName'

to

          QSS3BucketName: !If
              - UsingDefaultBucket
              - !Sub '${QSS3BucketName}-${AWS::Region}'
              - !Ref QSS3BucketName

(as is done for the URL of the IISStack template in the outer stack)
appears to resolve the issue.

I haven't submitted a PR for this, since it would be more desirable to also pass QSS3BucketRegion through to the child stacks so the S3 regional endpoint is used (instead of relying on S3's redirect behaviour, which CloudFormation does allow).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.