Git Product home page Git Product logo

terraform-alicloud-dts's Introduction

Terraform Module for creating Data Transmission Service (DTS) on Alibaba Cloud.

terraform-alicloud-dts

English | 简体中文

This Module is used to automatically build and data transmission services based on DTS, including data synchronization instances, data synchronization jobs, and monitoring rules.

These types of resources are supported:

Usage

module "default" {
  source = "terraform-alicloud-modules/dts/alicloud"

  create_sync_instance               = "true"
  auto_pay                           = "true"
  auto_start                         = "true"
  payment_type                       = "PayAsYouGo"
  source_endpoint_region             = "cn-hangzhou"
  destination_endpoint_region        = "cn-hangzhou"
  instance_class                     = "small"
  create_sync_job                    = true
  synchronization_bidirectional      = true
  dts_job_name                       = "tf-testAccCase"
  data_initialization                = "true"
  data_synchronization               = "true"
  structure_initialization           = "true"
  source_endpoint_instance_id        = "rm-bp1gxxxxxxxxjv"
  source_endpoint_database_name      = "source_database"
  source_endpoint_user_name          = "username"
  source_endpoint_password           = "password"
  destination_endpoint_instance_id   = "rm-bp1gxxxxxxxxka"
  destination_endpoint_database_name = "destination_database"
  destination_endpoint_user_name     = "username"
  destination_endpoint_password      = "password"
  db_list                            = "{\"test_database\":{\"name\":\"test_database\",\"all\":true,\"state\":\"normal\"}}"
  dts_job_status                     = "Synchronizing"
  create_monitor_rule                = false
}

Examples

Notes

  • This module using AccessKey and SecretKey are from profile and shared_credentials_file. If you have not set them yet, please install aliyun-cli and configure it.

Requirements

Name Version
terraform > = 0.13
alicloud > = 1.138.0

Providers

Name Version
alicloud > = 1.138.0

Submit Issues

If you have any problems when using this module, please opening a provider issue and let us know.

Note: There does not recommend opening an issue on this repo.

Authors

Created and maintained by Alibaba Cloud Terraform Team([email protected]).

License

MIT Licensed. See LICENSE for full details.

Reference

terraform-alicloud-dts's People

Contributors

chenhanzhang avatar github-actions[bot] avatar shanye997 avatar wanghx0991 avatar xiaozhu36 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.