-
Notifications
You must be signed in to change notification settings - Fork 59
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
How to define this public_ip variable in output.tf? #2
Comments
Hi @scheung38 , Thanks for raising the issue. Will test out the ec2 instance part and get back on the same. For 3) Yeah, Its a default IP value so it can very well be changed. |
still doesn't work after creating an aws instance and specifying my private IP address still getting the same error, plus i test the GCP code got the bellow errors. Error: module.instance.google_compute_instance.sample[0]: "boot_disk": required field is not set Error: module.instance.google_compute_instance.sample[0]: "disk": [REMOVED] Use boot_disk, scratch_disk, and attached_disk instead Error: module.instance.google_compute_instance.sample[1]: "boot_disk": required field is not set Error: module.instance.google_compute_instance.sample[1]: "disk": [REMOVED] Use boot_disk, scratch_disk, and attached_disk instead Error: module.instance.google_compute_instance.sample[2]: "boot_disk": required field is not set Error: module.instance.google_compute_instance.sample[2]: "disk": [REMOVED] Use boot_disk, scratch_disk, and attached_disk instead not sure if am doing something wrong please advise? thanks in advance |
Error: output 'public_ip': "aws_instance.aws_instance.public_ip" is not a valid output for module "ec2"
value = "${module.ec2.aws_instance.aws_instance.public_ip}" Unresolved?
variable "public_ip" {
description = "Public IP"
default = "52.62.107.101"
}
we need to change this correct? I guess they are one of the same thing. Be useful to know how to setup thanks
The text was updated successfully, but these errors were encountered: