Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Parameters default value are missing in the documentation #272

Closed
barroij opened this issue Feb 13, 2019 · 6 comments · Fixed by #767
Closed

Parameters default value are missing in the documentation #272

barroij opened this issue Feb 13, 2019 · 6 comments · Fixed by #767
Assignees

Comments

@barroij
Copy link

barroij commented Feb 13, 2019

I'm discoveing aws SAM and CloudFormation, and it seems there is one big thing missing in the reference API documentation : the default values. i.e. the value one parameter is given when optional and not provided.

an example in https://github.com/awsdocs/aws-cloudformation-user-guide/blob/master/doc_source/aws-properties-apigateway-stage-methodsetting.md:
It tells that the CachingEnabled is optional, but does not tell if it set to trueor false if I don't put it in my template.

@PatMyron PatMyron pinned this issue Mar 24, 2020
@dlenski
Copy link
Contributor

dlenski commented Aug 7, 2020

Agreed, this is a problem in many parts of the reference documentation.

I just submitted a PR (#767) to add default values for the optional parameters of the AWS Lambda EventSourceMapping.

I had to go through various announcements and examples to find information on the defaults.

@devlinbd2
Copy link
Contributor

I will take care of #767, but this one is API Gateway.

@dlenski
Copy link
Contributor

dlenski commented Sep 5, 2020

Thanks for merging #767. I believe this issue was referring to a more general problem in various parts of the documentation… my PR only addressed a small part of it for one service.

@rob3c
Copy link

rob3c commented Feb 14, 2022

I think this issue should be reopened and made a tracking issue until all default values for all optional parameters for all resource types are documented. This issue is clearly about more than the single example the OP gave or the single fix offered in #767, as mentioned by @dlenski.

I shudder to think at the collective hours spent by all developers world-wide using CloudFormation and independently wasting their time searching for the same basic information that should obviously be provided by AWS here (or, if there's a single source of truth for these values for each resource to avoid sync problems, then the CloudFormation docs should maintain links to that info).

This would seem to be in AWS's best interest, since teams could go to production more quickly - with the corresponding AWS billing increases - instead of working it out for themselves with tiny examples over and over that are probably still in the free tier. Even earning only a dollar more per account that used CloudFormation more efficiently and got to production faster due to better documentation seems like it would justify the resources many times over to make this happen. So frustrating...

@devlinbd2
Copy link
Contributor

devlinbd2 commented Feb 14, 2022 via email

@mnapoli
Copy link

mnapoli commented Jul 12, 2022

Since this issue was not reopened I have opened #1239

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
7 participants