hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.75k stars 9.11k forks source link

New resource: `aws_mgn_replication_configuration_template` AWS Application Migration Service #21746

Open evairmarinho opened 2 years ago

evairmarinho commented 2 years ago

Community Note

Description

Service doc: "AWS Application Migration Service (MGN) is a highly automated lift-and-shift (rehost) solution that simplifies, expedites, and reduces the cost of migrating applications to AWS."

New or Affected Resource(s)

Potential Terraform Configuration

resource "aws_mgn_replication_configuration_template" "this" {
  associate_default_security_group = true
  bandwidth_throttling = 1000
  create_public_ip = false
  data_plane_routing = "PRIVATE_IP"
  default_large_staging_disk_type = "gp2"
  ebs_encryption = "DEFAULT"
  ebs_encryption_key_arn = ""
  replication_server_instance_type = "t3.medium"
  replication_servers_security_groups_ids = [ "sg-123456" ]
  staging_area_subnet_id = "subnet-123456"
  staging_area_tags = { 
      "Env" : "Dev"
      "StagingArea" : "true" 
   }
  tags = { 
      "Env" : "Dev"
   }
  use_dedicated_replication_server = true
}

References

dschwinn commented 2 years ago

I would love to see this implemented. I am on the heels of a decent size migration using AWS Application Migration Service and it is a bummer that I have to do this part manually.

tomhunte commented 4 months ago

Same here, I'm going to start a migration and this would be helpful - I'm interested to see if I can implement this. However, I think some support IaC needs to be written first (Setting up the service prior to configuration). I'll take a crack at it!