docs-v2/deploy
Scott Anderson 3d918af7b8 Deploy refactor (#1370)
* Change lambda function to recognize clean URLs

* More bug fixes to CF template and function

* Add redirect for root to /v2.0

* Fix lambda rewrite logic

* Switch to using multiple cache behaviors

* Experiment with deleting lambda@edge functions

* Change lambda function to recognize clean URLs

* More bug fixes to CF template and function

* Add redirect for root to /v2.0

* Fix lambda rewrite logic

* Switch to using multiple cache behaviors

* Experiment with deleting lambda@edge functions

* Update nodejs version in redirect lambda

* Use edge lambda function and remove path redirects.

* updated edge.js and cloudformation template

* revamped lambda edge function, made other template adjustments

Co-authored-by: Gunnar Aasen <gunnar.r.aasen@gmail.com>
2020-09-02 12:17:34 -06:00
..
README.md Deploy refactor (#1370) 2020-09-02 12:17:34 -06:00
ci-install-hugo.sh gave ci install scripts executable permissions 2019-01-18 14:24:13 -07:00
ci-install-s3deploy.sh gave ci install scripts executable permissions 2019-01-18 14:24:13 -07:00
docs-website.yml Deploy refactor (#1370) 2020-09-02 12:17:34 -06:00
edge.js Deploy refactor (#1370) 2020-09-02 12:17:34 -06:00
remove-lambda.yml Deploy refactor (#1370) 2020-09-02 12:17:34 -06:00

README.md

Deploying the InfluxData Docs

Use the following command to deploy a CloudFormation stack using the template in this directory.

aws cloudformation deploy \
    --template-file deploy/docs-website.yml \
    --stack-name="${STACK_NAME}" \
    --capabilities CAPABILITY_IAM \
    --no-execute-changeset \
    --parameter-overrides \
        AcmCertificateArn="${ACM_ARN}" \
        DomainName="${DOMAIN_NAME}"

The --no-execute-changeset option will display the actions that will be taken. Remove the --no-execute-changeset option to actually deploy a change.