-
Notifications
You must be signed in to change notification settings - Fork 0
[deploy] userdata.sh 도메인 설정 자동화 제외 #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[refactor] userdata.sh 도메인 설정 자동화
[fix] fmt 에러 해결
[refactor] remove unuse module
📝 Terraform Plan Result (Prod)data.aws_region.current: Reading...
data.aws_caller_identity.current: Reading...
data.aws_availability_zones.available: Reading...
data.aws_ami.ubuntu_latest: Reading...
module.rds.aws_db_parameter_group.main[0]: Refreshing state... [id=prod-clokey-rds-parameter-group]
module.vpc.aws_vpc.this: Refreshing state... [id=vpc-0720fad970efb3c0d]
module.s3.aws_s3_bucket.this: Refreshing state... [id=prod-clokey-storage-bucket]
data.aws_region.current: Read complete after 0s [id=ap-northeast-2]
data.aws_caller_identity.current: Read complete after 0s [id=801541931915]
data.aws_availability_zones.available: Read complete after 0s [id=ap-northeast-2]
data.aws_ami.ubuntu_latest: Read complete after 0s [id=ami-08a4fd517a4872931]
module.route_table_public.aws_route_table.this: Refreshing state... [id=rtb-0ff2eff8734a58859]
module.subnet_public_a.aws_subnet.this: Refreshing state... [id=subnet-00db8f409d83dd778]
module.subnet_private_c.aws_subnet.this: Refreshing state... [id=subnet-09b0b18f4bf1a9fe3]
module.subnet_private_a.aws_subnet.this: Refreshing state... [id=subnet-00b1d24e3eb392642]
module.route_table_private.aws_route_table.this: Refreshing state... [id=rtb-067cc7e7966d24c15]
module.igw.aws_internet_gateway.this: Refreshing state... [id=igw-03ab7a2ae648f2003]
module.subnet_public_c.aws_subnet.this: Refreshing state... [id=subnet-0fcaf6603efc731b6]
module.sg_ec2.aws_security_group.this: Refreshing state... [id=sg-01d07798be0b0ede4]
module.rds.aws_db_subnet_group.this: Refreshing state... [id=prod-clokey-rds]
module.subnet_public_a.aws_route_table_association.this: Refreshing state... [id=rtbassoc-0a0d9ac5f07ac1eea]
module.s3.aws_s3_bucket_public_access_block.this[0]: Refreshing state... [id=prod-clokey-storage-bucket]
module.s3.aws_s3_bucket_versioning.this[0]: Refreshing state... [id=prod-clokey-storage-bucket]
module.s3.aws_s3_bucket_server_side_encryption_configuration.this[0]: Refreshing state... [id=prod-clokey-storage-bucket]
module.subnet_private_c.aws_route_table_association.this: Refreshing state... [id=rtbassoc-0623fe871756fd769]
module.subnet_private_a.aws_route_table_association.this: Refreshing state... [id=rtbassoc-09408e6aa5ede4cee]
module.route_table_public.aws_route.igw[0]: Refreshing state... [id=r-rtb-0ff2eff8734a588591080289494]
module.sg_rds.aws_security_group.this: Refreshing state... [id=sg-05d6d09792ba07127]
module.ec2.aws_instance.this: Refreshing state... [id=i-01d54813e117dfd0a]
module.subnet_public_c.aws_route_table_association.this: Refreshing state... [id=rtbassoc-09cbdc317a8452338]
module.rds.aws_db_instance.this: Refreshing state... [id=db-URYI7QYKDO3YQ7OTC7CLIYBSMU]
Note: Objects have changed outside of Terraform
Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:
# module.ec2.aws_instance.this has changed
~ resource "aws_instance" "this" {
id = "i-01d54813e117dfd0a"
tags = {
"Name" = "prod-clokey-api"
}
# (40 unchanged attributes hidden)
~ root_block_device {
+ tags = {}
# (10 unchanged attributes hidden)
}
# (7 unchanged blocks hidden)
}
Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.
─────────────────────────────────────────────────────────────────────────────
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# module.ec2.aws_instance.this will be updated in-place
~ resource "aws_instance" "this" {
id = "i-01d54813e117dfd0a"
~ public_dns = "ec2-43-203-199-240.ap-northeast-2.compute.amazonaws.com" -> (known after apply)
~ public_ip = "43.203.199.240" -> (known after apply)
tags = {
"Name" = "prod-clokey-api"
}
~ user_data_base64 = (sensitive value)
# (37 unchanged attributes hidden)
# (8 unchanged blocks hidden)
}
# module.rds.aws_db_parameter_group.main[0] will be updated in-place
~ resource "aws_db_parameter_group" "main" {
id = "prod-clokey-rds-parameter-group"
name = "prod-clokey-rds-parameter-group"
tags = {
"Name" = "prod-clokey-rds-parameter-group"
}
# (6 unchanged attributes hidden)
- parameter {
- apply_method = "pending-reboot" -> null
- name = "innodb_buffer_pool_size" -> null
- value = "{DBInstanceClassMemory*3/4}" -> null
}
+ parameter {
+ apply_method = "immediate"
+ name = "innodb_buffer_pool_size"
+ value = "{DBInstanceClassMemory*3/4}"
}
# (1 unchanged block hidden)
}
Plan: 0 to add, 2 to change, 0 to destroy.
Warning: Value for undeclared variable
The root module does not declare a variable named "public_subnet_cidr" but a
value was found in file "terraform.tfvars". If you meant to use this value,
add a "variable" block to the configuration.
To silence these warnings, use TF_VAR_... environment variables to provide
certain "global" settings to all configurations in your organization. To
reduce the verbosity of these warnings, use the -compact-warnings option.
Warning: Value for undeclared variable
The root module does not declare a variable named "availability_zone" but a
value was found in file "terraform.tfvars". If you meant to use this value,
add a "variable" block to the configuration.
To silence these warnings, use TF_VAR_... environment variables to provide
certain "global" settings to all configurations in your organization. To
reduce the verbosity of these warnings, use the -compact-warnings option.
Warning: Values for undeclared variables
In addition to the other similar warnings shown, 3 other variable(s) defined
without being declared.
Warning: Deprecated attribute
on ../../modules/storage/s3/output.tf line 33, in output "bucket_website_endpoint":
33: value = aws_s3_bucket.this.website_domain
The attribute "website_domain" is deprecated. Refer to the provider
documentation for details.
─────────────────────────────────────────────────────────────────────────────
Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📌 연관 이슈
🌱 PR 요약
🛠 작업 내용
📸 스크린샷
❗️리뷰어들께