Skip to content

new resource: aws_drs_launch_configuration_template - #49471

Open
jbrockopp wants to merge 1 commit into
hashicorp:mainfrom
jbrockopp:feat/drs-launch-configuration
Open

new resource: aws_drs_launch_configuration_template#49471
jbrockopp wants to merge 1 commit into
hashicorp:mainfrom
jbrockopp:feat/drs-launch-configuration

Conversation

@jbrockopp

@jbrockopp jbrockopp commented Aug 13, 2026

Copy link
Copy Markdown

Rollback Plan

If a change needs to be reverted, we will publish an updated version of the library.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

  • No, not to my knowledge as this adds support for a new Terraform resource.

Description

This change adds support for a new aws_drs_launch_configuration_template Terraform resource:

resource "aws_drs_launch_configuration_template" "this" {
  copy_private_ip             = true
  copy_tags                   = false
  export_bucket_arn           = "arn:aws:s3:::my-s3-bucket-1234567890"
  launch_disposition          = "STARTED" # other enum is "STOPPED"
  launch_into_source_instance = true

  licensing {
    os_byol = true
  }

  post_launch_enabled = false
  recovery_mode       = "OPTIMAL" # other enum is "FAST"

  tags = { 
    "Env" : "Dev"
  }

  target_instance_type_right_sizing = "IN_AWS" # other enums are "NONE" or "BASIC"
}

This will be used to configure the launch settings for Elastic Disaster Recovery Service (DRS) in AWS:

This PR was modeled off the previous addition of the aws_drs_replication_configuration_template resource:

Relations

closes:

References

Output from Acceptance Testing

% make testacc TESTS=TestAccDRSLaunchConfigurationTemplate_ PKG=drs
# TODO - I'm hoping a maintainer or someone from the community could run these:
#
# https://hashicorp.github.io/terraform-provider-aws/running-and-writing-acceptance-tests
...

@github-actions

Copy link
Copy Markdown
Contributor

Community Guidelines

This comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀

Voting for Prioritization

  • Please vote on this Pull Request by adding a 👍 reaction to the original post to help the community and maintainers prioritize it.
  • Please see our prioritization guide for additional information on how the maintainers handle prioritization.
  • Please do not leave +1 or other comments that do not add relevant new information or questions; they generate extra noise for others following the Pull Request and do not help prioritize the request.

Pull Request Authors

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions Bot added needs-triage Waiting for first response or review from a maintainer. documentation Introduces or discusses updates to documentation. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. generators Relates to code generators. service/drs Issues and PRs that pertain to the drs service. size/XL Managed by automation to categorize the size of a PR. labels Aug 13, 2026
@jbrockopp
jbrockopp marked this pull request as ready for review August 13, 2026 16:23
@jbrockopp
jbrockopp requested a review from a team as a code owner August 13, 2026 16:23
@dosubot dosubot Bot added the new-resource Introduces a new resource. label Aug 13, 2026
@justinretzolk justinretzolk removed the needs-triage Waiting for first response or review from a maintainer. label Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Introduces or discusses updates to documentation. generators Relates to code generators. new-resource Introduces a new resource. service/drs Issues and PRs that pertain to the drs service. size/XL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants