-
-
Notifications
You must be signed in to change notification settings - Fork 1
feat: Update api-gateway-rest-api to 0.8.0 #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Update api-gateway-rest-api to 0.8.0 #16
Conversation
WalkthroughThis pull request updates the version number of the Changes
Sequence Diagram(s)sequenceDiagram
participant Dev as Developer
participant Var as Variables (src/variables.tf)
participant File as Configuration Files (src/main.tf & src/README.md)
participant API as API Gateway Module
Dev->>Var: Define new parameters<br/>(stage_name, throttling limits)
Var->>File: Provide configuration values
File->>API: Instantiate module with updated version and parameters
API-->>File: Configure API gateway using inputs
Poem
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🟢 Require terratestWonderful, this rule succeeded.This rule require terratest status
|
f11fa06
to
9013a99
Compare
9013a99
to
b76ceec
Compare
960c063
to
86d5a5c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (5)
README.md (1)
140-140
: Alt Text for Image:
Consider adding analt
attribute to the image on this line to improve accessibility and adhere to markdownlint guidelines.src/variables.tf (3)
136-140
: Addition of Variablestage_name
:
A new variablestage_name
is defined with a default of an empty string. Consider whether an empty string is the best default or ifnull
might better indicate the absence of a stage name.
142-146
: Definition ofthrottling_burst_limit
:
The new variable is introduced with a default value of-1
. Please verify that the downstream module interprets-1
as the intended signal (e.g., to disable a limit) or if a different default (such asnull
) would be more appropriate.
148-152
: Definition ofthrottling_rate_limit
:
Similarly, this variable is defined with a default of-1
. Confirm that using-1
is the correct approach within the module logic and consider documenting its semantic meaning (e.g., “no throttling limit”) if it isn’t already clear.src/README.md (1)
67-67
: Module Version Discrepancy:
The module version here is set to"0.7.2"
, which differs from the"0.8.0"
update in the other documentation files. Please verify whether this discrepancy is intentional or if it should be aligned with the other files.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (5)
README.md
(1 hunks)README.yaml
(1 hunks)src/README.md
(4 hunks)src/main.tf
(2 hunks)src/variables.tf
(1 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
src/README.md
140-140: Images should have alternate text (alt text)
null
(MD045, no-alt-text)
⏰ Context from checks skipped due to timeout of 90000ms (3)
- GitHub Check: Mergify Merge Protections
- GitHub Check: Mergify Merge Protections
- GitHub Check: Summary
🔇 Additional comments (6)
README.yaml (1)
63-63
: Module Version Update in Documentation:
The version for theapi_gateway_rest_api
module is updated to"0.8.0"
, which aligns with the PR objective. Please verify that all downstream documentation and references consistently reflect this change.README.md (2)
67-67
: Module Version Consistency:
The module version is updated to"0.8.0"
here, which is in line with the top-level documentation update. Ensure that all references across the repository match this version.
115-120
: New Input Parameters Documentation:
The new input parameters—stage_name
,throttling_burst_limit
, andthrottling_rate_limit
—are now included in the Inputs table with appropriate types and default values. This addition clearly informs users about the enhanced API Gateway configuration options.🧰 Tools
🪛 LanguageTool
[grammar] ~117-~117: Did you mean “too false to”?
Context: ..."> enabled | Set to false to prevent the module from creating any re...(TOO_ADJECTIVE_TO)
src/main.tf (2)
13-13
: Module Version Update in Terraform Configuration:
Theapi_gateway_rest_api
module’s version is now set to"0.8.0"
. This update should enable the new features from the upgraded module. Ensure that downstream resources and dependencies reflect this version change.
25-27
: Passing New Parameters to the Module:
The addition ofstage_name
,throttling_burst_limit
, andthrottling_rate_limit
in the module configuration is correctly implemented. Please confirm that the targeted module version supports these parameters as mentioned in the release notes.src/README.md (1)
115-120
: Incorporation of New Inputs:
The newly added inputs forstage_name
,throttling_burst_limit
, andthrottling_rate_limit
are documented clearly. This provides users with the enhanced configuration options described in the PR objectives.
86d5a5c
to
b24f54e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
src/README.md (1)
140-140
: Add Alternative Text to Image TagThe image tag lacks alternative text, which is important for accessibility and to address markdownlint (MD045) warnings. Consider adding descriptive alt text. For example:
- [<img src="https://cloudposse.com/logo-300x69.svg" height="32" align="right"/>](https://cpco.io/component) + [<img src="https://cloudposse.com/logo-300x69.svg" alt="Cloud Posse logo" height="32" align="right"/>](https://cpco.io/component)🧰 Tools
🪛 markdownlint-cli2 (0.17.2)
140-140: Images should have alternate text (alt text)
null(MD045, no-alt-text)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (5)
README.md
(1 hunks)README.yaml
(1 hunks)src/README.md
(4 hunks)src/main.tf
(2 hunks)src/variables.tf
(1 hunks)
🚧 Files skipped from review as they are similar to previous changes (4)
- README.yaml
- README.md
- src/variables.tf
- src/main.tf
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
src/README.md
140-140: Images should have alternate text (alt text)
null
(MD045, no-alt-text)
⏰ Context from checks skipped due to timeout of 90000ms (3)
- GitHub Check: Mergify Merge Protections
- GitHub Check: Mergify Merge Protections
- GitHub Check: Summary
🔇 Additional comments (4)
src/README.md (4)
67-67
: Module Version Update to 0.8.0The module version for
api_gateway_rest_api
has been updated to 0.8.0 as intended. Please ensure that all downstream components and documentation references are adjusted accordingly if needed.
115-115
: New Input Parameterstage_name
AddedThe new input variable
stage_name
(defaulting to an empty string) is now defined. This addition increases the flexibility in configuring API stages. Confirm that consumers of this module are aware of and handle this parameter appropriately.
118-118
: New Input Parameterthrottling_burst_limit
AddedThe input variable
throttling_burst_limit
has been introduced with a default value of-1
. This will allow users to optionally specify a burst limit for API throttling. Please verify that the module’s logic correctly interprets the default value.
119-119
: New Input Parameterthrottling_rate_limit
AddedThe addition of
throttling_rate_limit
(defaulting to-1
) further enhances control over throttling settings. Verify that the consuming configurations correctly handle this value to avoid unexpected behavior.
/terratest |
There are no real tests for this component. So we set terratest statuses to successful execution without running any tests |
These changes were released in v1.535.1. |
what
terraform-aws-api-gateway
module version.why
references
Summary by CodeRabbit
0.8.0
, reflecting the latest enhancements.