TERRAFORM
terraform plan -target=aws_instance.myinstance terraform apply -target=aws_instance.myinstance # Workaround https://github.com/hashicorp/terraform-provider-google/issues/6782 sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 net.ipv6.conf.default.disable_ipv6=1 net.ipv6.conf.lo.disable_ipv6=1 > /dev/null export APIS="googleapis.com www.googleapis.com storage.googleapis.com iam.googleapis.com container.googleapis.com cloudresourcemanager.googleapis.com" for name in $APIS do ipv4=$(getent ahostsv4 "$name" | head -n 1 | awk '{ print $1 }') grep -q "$name" /etc/hosts || ([ -n "$ipv4" ] && sudo sh -c "echo '$ipv4 $name' >> /etc/hosts") done
Workaround end
Wishlist