Skip to content

Commit

Permalink
Rename hosts (#4271)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavmoj authored Dec 8, 2023
1 parent 066dd9c commit b69287e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ locals {
availability_zone = null
ebs_volumes_copy_all_from_ami = false
user_data_raw = base64encode(templatefile("./templates/rds.yaml.tftpl", {
rds_hostname = "RDSConnectionBroker"
rds_hostname = "RDSBroker"
}))
})
instance = merge(module.baseline_presets.ec2_instance.instance.default, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,6 @@ tasks:
Disable-NetAdapterBinding -Name 'Ethernet' -ComponentID 'ms_tcpip6'
Import-Module RemoteDesktop
Enable-PSRemoting -force
Rename-Computer -NewName ${rds_hostname}
Rename-Computer -NewName "${rds_hostname}1"
Sleep 5
Restart-Computer -Force

0 comments on commit b69287e

Please sign in to comment.