Terraform EC2 setup#13
Conversation
ongeziwe17
commented
Nov 12, 2025
- Fix ssh key re-create same key issue for 2 envs, instead re-use
- Each environment (development, staging, production) runs only when its matching branch is pushed
…s matching branch is pushed
|
Terraform used the selected providers to generate the following execution
Terraform will perform the following actions: aws_eip.dev_app will be created
module.compute.aws_instance.app_server will be created
Plan: 2 to add, 0 to change, 0 to destroy. Changes to Outputs:
|
|
Note: Objects have changed outside of Terraform Terraform detected the following changes made outside of Terraform since the module.compute.aws_instance.app_server has changed~ resource "aws_instance" "app_server" { Unless you have made equivalent changes to your configuration, or ignored the ───────────────────────────────────────────────────────────────────────────── Terraform used the selected providers to generate the following execution Terraform will perform the following actions: module.compute.aws_instance.app_server will be updated in-place~ resource "aws_instance" "app_server" { module.compute.aws_key_pair.dev_admin has moved to module.compute.aws_key_pair.dev_admin[0]Plan: 0 to add, 1 to change, 0 to destroy. Changes to Outputs: |