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

Add option to define character set #71

Merged
merged 5 commits into from
Jul 7, 2021

Conversation

yariksheptykin
Copy link
Contributor

Closes #70

@yariksheptykin
Copy link
Contributor Author

/rebuild-readme

@yariksheptykin
Copy link
Contributor Author

/test all

@yariksheptykin yariksheptykin marked this pull request as ready for review September 7, 2020 18:43
@mergify
Copy link

mergify bot commented Dec 17, 2020

This pull request is now in conflict. Could you fix it @yariksheptykin? 🙏

@osterman
Copy link
Member

/rebuild-readme

@yariksheptykin yariksheptykin requested review from a team as code owners December 23, 2020 19:14
@yariksheptykin yariksheptykin requested review from Makeshift and nitrocode and removed request for a team December 23, 2020 19:14
@maximmi
Copy link
Contributor

maximmi commented Dec 23, 2020

@yariksheptykin please, rebase the code

@yariksheptykin
Copy link
Contributor Author

/rebuild-readme

@yariksheptykin
Copy link
Contributor Author

Hi @maximmi , could you take a look at this MR before it becomes stale again?

@mergify
Copy link

mergify bot commented Feb 4, 2021

This pull request is now in conflict. Could you fix it @yariksheptykin? 🙏

@yariksheptykin
Copy link
Contributor Author

Closing merge request because there does not seem to be much interest in this work.

@nitrocode nitrocode reopened this Jul 7, 2021
Copy link

@bridgecrew bridgecrew bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bridgecrew has found 2 infrastructure configuration errors in this PR ⬇️

@@ -29,6 +29,7 @@ resource "aws_db_instance" "default" {
port = var.database_port
engine = var.engine
engine_version = var.engine_version
character_set_name = var.charset_name
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOW   Ensure that enhanced monitoring is enabled for Amazon RDS instances
    Resource: aws_db_instance.default | ID: BC_AWS_LOGGING_28

How to Fix

resource "aws_db_instance" "default" {
  allocated_storage    = 10
  engine               = "mysql"
  engine_version       = "5.7"
  instance_class       = "db.t3.micro"
  name                 = "mydb"
  username             = "foo"
  password             = "foobarbaz"
  parameter_group_name = "default.mysql5.7"
  skip_final_snapshot  = true
+ monitoring_interval  = 5
  }

Description

TBA

Dependent Resources



Calculating...

@@ -29,6 +29,7 @@ resource "aws_db_instance" "default" {
port = var.database_port
engine = var.engine
engine_version = var.engine_version
character_set_name = var.charset_name
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOW   Ensure that RDS instances have Multi-AZ enabled
    Resource: aws_db_instance.default | ID: BC_AWS_GENERAL_73

How to Fix

resource "aws_db_instance" "default" {
  allocated_storage    = 20
  storage_type         = "gp2"
  engine               = "mysql"
  engine_version       = "5.7"
  instance_class       = "db.t2.micro"
  name                 = "mydb"
+ multi_az             = true 
}

Description

Amazon RDS Multi-AZ deployments provide enhanced availability for databases within a single region. In the event of a planned or unplanned outage of your DB instance, Amazon RDS automatically switches to a standby replica in another Availability Zone if you have enabled Multi-AZ.

RDS Multi-AZ deployments offer the following benefits:

  1. Enhanced durability.
  2. Increased availability.
  3. Protection of your database performance.
  4. Automatic failover.

Dependent Resources



Calculating...

Copy link

@bridgecrew bridgecrew bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bridgecrew has found 2 infrastructure configuration errors in this PR ⬇️

@@ -29,6 +29,7 @@ resource "aws_db_instance" "default" {
port = var.database_port
engine = var.engine
engine_version = var.engine_version
character_set_name = var.charset_name
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOW   Ensure that enhanced monitoring is enabled for Amazon RDS instances
    Resource: aws_db_instance.default | ID: BC_AWS_LOGGING_28

How to Fix

resource "aws_db_instance" "default" {
  allocated_storage    = 10
  engine               = "mysql"
  engine_version       = "5.7"
  instance_class       = "db.t3.micro"
  name                 = "mydb"
  username             = "foo"
  password             = "foobarbaz"
  parameter_group_name = "default.mysql5.7"
  skip_final_snapshot  = true
+ monitoring_interval  = 5
  }

Description

TBA

Dependent Resources



Calculating...

@@ -29,6 +29,7 @@ resource "aws_db_instance" "default" {
port = var.database_port
engine = var.engine
engine_version = var.engine_version
character_set_name = var.charset_name
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOW   Ensure that RDS instances have Multi-AZ enabled
    Resource: aws_db_instance.default | ID: BC_AWS_GENERAL_73

How to Fix

resource "aws_db_instance" "default" {
  allocated_storage    = 20
  storage_type         = "gp2"
  engine               = "mysql"
  engine_version       = "5.7"
  instance_class       = "db.t2.micro"
  name                 = "mydb"
+ multi_az             = true 
}

Description

Amazon RDS Multi-AZ deployments provide enhanced availability for databases within a single region. In the event of a planned or unplanned outage of your DB instance, Amazon RDS automatically switches to a standby replica in another Availability Zone if you have enabled Multi-AZ.

RDS Multi-AZ deployments offer the following benefits:

  1. Enhanced durability.
  2. Increased availability.
  3. Protection of your database performance.
  4. Automatic failover.

Dependent Resources



Calculating...

@nitrocode
Copy link
Member

/test all

@nitrocode nitrocode merged commit cb41a4c into cloudposse:master Jul 7, 2021
@Gowiem
Copy link
Member

Gowiem commented Jul 7, 2021

Thanks for the contribution @yariksheptykin -- we appreciate it! Released as 0.37.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add charset_name option
8 participants