forked from hashicorp/terraform-provider-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Auto pause aurora serverless cluster #1
Closed
ViktorCollin
wants to merge
1,060
commits into
ohookins:main
from
ViktorCollin:auto-pause-aurora-serverless-cluster
Closed
Auto pause aurora serverless cluster #1
ViktorCollin
wants to merge
1,060
commits into
ohookins:main
from
ViktorCollin:auto-pause-aurora-serverless-cluster
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JanuaryThomas
approved these changes
Nov 30, 2024
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.
Looking into similar functionality
New Service: `s3tables`
Bumps the aws-sdk-go-v2 group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [github.com/aws/aws-sdk-go-v2/service/athena](https://github.com/aws/aws-sdk-go-v2) | `1.48.5` | `1.49.0` | | [github.com/aws/aws-sdk-go-v2/service/cloudwatch](https://github.com/aws/aws-sdk-go-v2) | `1.43.2` | `1.43.3` | | [github.com/aws/aws-sdk-go-v2/service/datazone](https://github.com/aws/aws-sdk-go-v2) | `1.24.1` | `1.25.0` | | [github.com/aws/aws-sdk-go-v2/service/glue](https://github.com/aws/aws-sdk-go-v2) | `1.102.1` | `1.103.0` | | [github.com/aws/aws-sdk-go-v2/service/redshiftserverless](https://github.com/aws/aws-sdk-go-v2) | `1.24.4` | `1.25.0` | Updates `github.com/aws/aws-sdk-go-v2/service/athena` from 1.48.5 to 1.49.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@service/eks/v1.48.5...service/s3/v1.49.0) Updates `github.com/aws/aws-sdk-go-v2/service/cloudwatch` from 1.43.2 to 1.43.3 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@service/ssm/v1.43.2...service/ssm/v1.43.3) Updates `github.com/aws/aws-sdk-go-v2/service/datazone` from 1.24.1 to 1.25.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@v1.24.1...v1.25.0) Updates `github.com/aws/aws-sdk-go-v2/service/glue` from 1.102.1 to 1.103.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/service/ec2/v1.103.0/CHANGELOG.md) - [Commits](aws/aws-sdk-go-v2@service/glue/v1.102.1...service/ec2/v1.103.0) Updates `github.com/aws/aws-sdk-go-v2/service/redshiftserverless` from 1.24.4 to 1.25.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@service/pi/v1.24.4...v1.25.0) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2/service/athena dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-sdk-go-v2 - dependency-name: github.com/aws/aws-sdk-go-v2/service/cloudwatch dependency-type: direct:production update-type: version-update:semver-patch dependency-group: aws-sdk-go-v2 - dependency-name: github.com/aws/aws-sdk-go-v2/service/datazone dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-sdk-go-v2 - dependency-name: github.com/aws/aws-sdk-go-v2/service/glue dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-sdk-go-v2 - dependency-name: github.com/aws/aws-sdk-go-v2/service/redshiftserverless dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-sdk-go-v2 ... Signed-off-by: dependabot[bot] <[email protected]>
docs: update resource counts
…es/aws-sdk-go-v2-589d3b4213 Bump the aws-sdk-go-v2 group across 1 directory with 5 updates
…meter-group-diffs docs: Better document perpetual diffs
…ent_agent-update-instructions-validation feat: update max length for bedrock agent instructions
…aurora-serverless-scaling Allow Aurora Serverless scaling to zero capacity.
…ter_replica_delete r/aws_rds_cluster_instance: fix destroy error when cluster instance is in a read replica
…r-aws into auto-pause-aurora-serverless-cluster
I created a new PR directly to hashicorps repository as the original PR got merged without my additions. The new PR can be found here hashicorp#40441 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This is my first time working in Go, so please bare with me if there is anything I did not get correctly
This is a continuation of #40230 by ohookins
Original PR:
https://aws.amazon.com/blogs/database/introducing-scaling-to-0-capacity-with-amazon-aurora-serverless-v2
Aurora Serverless now supports scaling to 0 (previously the minimum was 0.5). There are some additional checks around specific versions of the engine (e.g. PostgreSQL versions) but these are likely to change reasonably frequently and may not be wise to encode in the provider. API checks at runtime will error out if an incompatible engine version is selected.
Addition:
There is a parameter called
seconds_until_auto_pause
that allows for configuring how long time the instances have to be inactive before they are pausedRelations
Closes #40226
References
https://aws.amazon.com/blogs/database/introducing-scaling-to-0-capacity-with-amazon-aurora-serverless-v2
Output from Acceptance Testing
Same issue as in te original PR