-
Notifications
You must be signed in to change notification settings - Fork 0
create activemq broker
Command: terraform import aws_mq_broker.crypto-broker-V2 XXXXXXXXX
and the content of the config file is: resource "aws_mq_broker" "crypto-broker-V2" { name = "crypto-broker-V2" }
provider "aws" {
region = "us-east-1"
}
resource "aws_mq_broker" "crypto-broker" {
security_groups = ["*****"]
engine_version = "5.15.13"
engine_type = "ActiveMQ"
broker_name = "crypto-broker"
host_instance_type = "mq.t3.micro"
user {
username = "****"
password = "******"
}
}
resource "aws_sns_topic" "dac-convert-request" {
name = "DAC-CONVERT-REQUEST"
}
resource "aws_sns_topic" "DAC-CONTROLLER-PAIR-REQUEST" {
name = "DAC-CONTROLLER-PAIR-REQUEST"
}
resource "aws_sns_topic" "DAC-CONVERT-REQUEST-ACK" {
name = "DAC-CONVERT-REQUEST-ACK"
}
resource "aws_sns_topic" "DAC-EXHANGEGW-PAIR-UPDATE" {
name = "DAC-EXHANGEGW-PAIR-UPDATE"
}
resource "aws_sns_topic" "TEST-TOPIC" {
name = "TEST-TOPIC"
}
resource "aws_sns_topic" "DAC-CONTROLLER-CONVERT" {
name = "DAC-CONTROLLER-CONVERT"
}
resource "aws_sns_topic" "DAC-CONVERT-REPLY" {
name = "DAC-CONVERT-REPLY"
}