Skip to content

Conversation

@sgarcez
Copy link
Contributor

@sgarcez sgarcez commented Feb 22, 2018

As suggested by @jfuss here is an initial stab at an FAQ section for the docs.

Currently contains only a couple of questions - how to deal with multiple environments/stages, and how to enable logs in gateway.

Let me know if this useful in its present form or whether the official recommendations are different from what I thought.

@jfuss
Copy link
Contributor

jfuss commented Feb 22, 2018

This is awesome!!!! I will take a look later today.

Copy link
Contributor

@jfuss jfuss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple small comments.

@@ -1,5 +1,5 @@
CloudFormation Compatibility Section
===============
====================================
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! What did you use to catch these?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just the warnings from sphinx-build when running make html :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Will keep that in mind in the future :)

docs/faq.rst Outdated
How to manage multiple environments?
------------------------------------

*Terminology clarification: Environment and Stage can normally be used interchangeably but since AWS Gateway relies on a concrete concept of Stages we'll use the term Environment here to avoid confusion.*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AWS API Gateway

docs/faq.rst Outdated
How to enable API Gateway Logs
------------------------------

Work is underway to make this functionality part of the SAM specification. Until then the suggested workaround is to use the ``aws cli update-stage`` command to enable this manually after a Clouformation deployment.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a note about the following:

If you are to follow this, you will see metric gaps between the time CloudFormation deployed and the time you run this command.

Might be worth suggesting another option would be to create a custom resource that does this as well. I do know of customers going this route.

@jfuss
Copy link
Contributor

jfuss commented Mar 5, 2018

Thank you for doing this. Great addition :)

Sorry it took me some time. I was out of the office for part of last week.

@jfuss jfuss merged commit 24ef690 into aws:docs Mar 5, 2018
@sgarcez sgarcez deleted the docs branch March 6, 2018 10:14
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

Successfully merging this pull request may close these issues.

2 participants