Skip to content

Commit 9012c52

Browse files
committed
refactor: update source name
1 parent 745b280 commit 9012c52

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

aws.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,5 +211,5 @@ locals {
211211
}
212212

213213
resource "aws_eip" "web_ip" {
214-
instance = aws_instance.automq-byoc-console.id
214+
instance = aws_instance.automq_byoc_console.id
215215
}

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resource "aws_instance" "automq-byoc-console" {
1+
resource "aws_instance" "automq_byoc_console" {
22
ami = var.specified_ami_by_marketplace ? data.aws_ami.marketplace_ami_details.id : var.automq_byoc_env_console_ami
33
instance_type = var.automq_byoc_ec2_instance_type
44
subnet_id = local.automq_byoc_env_console_public_subnet_id

outputs.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ output "automq_byoc_initial_username" {
1515

1616
output "automq_byoc_initial_password" {
1717
description = "The initial password for the AutoMQ environment console. This account is used to log in to the environment, create ServiceAccounts, and manage other resources. For detailed information about environment members, please refer to the [documentation](https://docs.automq.com/automq-cloud/manage-identities-and-access/member-accounts)."
18-
value = aws_instance.automq-byoc-console.id
18+
value = aws_instance.automq_byoc_console.id
1919
}
2020

2121
output "automq_byoc_vpc_id" {
@@ -25,7 +25,7 @@ output "automq_byoc_vpc_id" {
2525

2626
output "automq_byoc_instance_id" {
2727
description = "The EC2 instance id for AutoMQ Console."
28-
value = aws_instance.automq-byoc-console.id
28+
value = aws_instance.automq_byoc_console.id
2929
}
3030

3131
/*
@@ -71,7 +71,7 @@ output "automq_byoc_instance_profile_arn" {
7171
7272
output "automq_byoc_vpc_route53_zone_id" {
7373
description = "Route53 bound to the VPC."
74-
value = aws_route53_zone.private.zone_id
74+
value = aws_route53_zone.private_r53.zone_id
7575
}
7676
7777
output "automq_byoc_env_console_ami" {

0 commit comments

Comments
 (0)