-
-
Notifications
You must be signed in to change notification settings - Fork 0
Bugfix: deprecated params & unused datasource from lookup #41
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
Conversation
WalkthroughThis change removes the retrieval of the Datadog application key from AWS SSM Parameter Store in the Datadog agent Terraform configuration. Additionally, it eliminates the Changes
Sequence Diagram(s)sequenceDiagram
participant Terraform
participant AWS SSM
participant Datadog Agent
%% Old flow
Note over Terraform, AWS SSM: (Old) Fetch Datadog app key from SSM if enabled
Terraform->>AWS SSM: Get datadog_app_key
AWS SSM-->>Terraform: Return app key
Terraform->>Datadog Agent: Configure with app key
%% New flow
Note over Terraform, Datadog Agent: (New) SSM fetch for app key removed
Terraform->>Datadog Agent: Configure (without SSM app key)
Possibly related PRs
Suggested labels
Poem
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 (
|
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/main.tf (1)
454-455
: Consider exposing cooldown settings to variablesHardcoding
scale_up_cooldown
andscale_down_cooldown
reduces flexibility. It’s better to surface these values as module inputs (with sensible defaults) so downstream consumers can adjust them without forking.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
src/datadog-agent.tf
(0 hunks)src/main.tf
(1 hunks)
💤 Files with no reviewable changes (1)
- src/datadog-agent.tf
⏰ Context from checks skipped due to timeout of 90000ms (3)
- GitHub Check: component / terraform / Lint (./src)
- GitHub Check: component / terraform / bats
- GitHub Check: Summary
🔇 Additional comments (2)
src/main.tf (2)
444-453
: Approve autoscaling basic configurationThe
service_name
,cluster_name
,min_capacity
, andmax_capacity
inputs align with the module’s API and look correct. Ensure thatvar.task
reliably providesmin_capacity
/max_capacity
in all deployment scenarios.
444-456
: Verify removal of scale adjustment parametersThe PR removes the deprecated
scale_up_adjustment
andscale_down_adjustment
parameters. Please confirm thatcloudposse/ecs-cloudwatch-autoscaling/aws
version 1.0.0 no longer requires those inputs and that your autoscaling policies behave as expected.For cloudposse/ecs-cloudwatch-autoscaling/aws version 1.0.0, have the `scale_up_adjustment` and `scale_down_adjustment` variables been removed or deprecated?
These changes were released in v2.0.2. |
what
why
references
Summary by CodeRabbit