Skip to content
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

The parameter ManageMasterUserPassword #417

Closed
ghost opened this issue Dec 3, 2023 · 4 comments
Closed

The parameter ManageMasterUserPassword #417

ghost opened this issue Dec 3, 2023 · 4 comments
Labels

Comments

@ghost
Copy link

ghost commented Dec 3, 2023

Description

I use this https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/tree/master/examples/serverless but when i add "master_password" without or with "manage_master_user_password = false" i have this error message below

│       status code: 400, request id: c4a2c2fc-73a7-4ead-9829-b2cf3cc5d99c
│ 
│   with module.aurora_mysql.module.aurora_mysql.aws_rds_cluster.this[0],
│   on .terraform/modules/aurora_mysql.aurora_mysql/main.tf line 39, in resource "aws_rds_cluster" "this":
│   39: resource "aws_rds_cluster" "this" {```


If your request is for a new feature, please use the `Feature request` template: I'm not requesting a new feature

- [ ] ✋ I have searched the open/closed issues and my issue is not listed: I didnd find anything 

## ⚠️ Note

Before you submit an issue, please perform the following first:

1. Remove the local `.terraform` directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): `rm -rf .terraform/`: Yes I did but same issue
2. Re-initialize the project root to pull down modules: `terraform init`
3. Re-attempt your terraform plan or apply and check if the issue still persists

## Versions

- Module version [Required]: 8.5.0

- Terraform version:
<!-- Execute terraform -version -->

Terraform v1.6.5
on darwin_arm64

- Provider version(s):
<!-- Execute: terraform providers -version -->
Terraform v1.6.5
on darwin_arm64

## Reproduction Code [Required]
https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/blob/master/examples/serverless/main.tf

<!-- REQUIRED -->

Steps to reproduce the behavior:

<!-- Are you using workspaces? --> no
<!-- Have you cleared the local cache (see Notice section above)? --> yes
<!-- List steps in order that led up to the issue you encountered --> 

## Expected behavior

<!-- A clear and concise description of what you expected to happen --> sucessfull apply, creation of rds aurora serverless mysql

## Actual behavior

I use this https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/tree/master/examples/serverless but when i add "master_password" without or with "manage_master_user_password = false" i have this error message below 


```InvalidParameterValue: The parameter ManageMasterUserPassword is not valid for engine mode: serverless.
│       status code: 400, request id: c4a2c2fc-73a7-4ead-9829-b2cf3cc5d99c
│ 
│   with module.aurora_mysql.module.aurora_mysql.aws_rds_cluster.this[0],
│   on .terraform/modules/aurora_mysql.aurora_mysql/main.tf line 39, in resource "aws_rds_cluster" "this":
│   39: resource "aws_rds_cluster" "this" {```

### Terminal Output Screenshot(s)

InvalidParameterValue: The parameter ManageMasterUserPassword is not valid for engine mode: serverless.
│       status code: 400, request id: c4a2c2fc-73a7-4ead-9829-b2cf3cc5d99c
│ 
│   with module.aurora_mysql.module.aurora_mysql.aws_rds_cluster.this[0],
│   on .terraform/modules/aurora_mysql.aurora_mysql/main.tf line 39, in resource "aws_rds_cluster" "this":
│   39: resource "aws_rds_cluster" "this" {


@isurugiu
Copy link

Are you using serverless v1 or v2?

Copy link

This issue has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this issue will be closed in 10 days

@github-actions github-actions bot added the stale label Jan 13, 2024
Copy link

This issue was automatically closed because of stale in 10 days

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 23, 2024
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant