Skip to content
Snippets Groups Projects
Commit 9284824e authored by debora.benedetto@hpe.com's avatar debora.benedetto@hpe.com
Browse files

update output example files generated

parent a4cf851b
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,6 @@
engine: terraform
input: []
output:
- instance_server_key_public_key
- instance_server_key_private_key
- instance_server_public_key
- instance_server_private_key
...
......@@ -56,7 +56,6 @@ resource "openstack_compute_instance_v2" "nginx" {
# Create ssh keys
resource "openstack_compute_keypair_v2" "user_key" {
name = "user1"
public_key = "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAsRO3dcuZVB0but7Ti9eN+Ti4FvRzQfZT6DugkOnasGSwQkuBUxr0RGHYG2O+C/ul4bN4wcM8VZ4aX9bk9vwkvBkk2uJhy0ZHqIzuwzTOmRPScHWApkxGEANO4QYiYdPYdjmGgAVuKhdqPYOJc5Spkf3n4sYrU89rhC4rLyRs7doYofxpwBVaDfUExPLAtwFb2UGGzC6c0SJzqX4ZFq72NC0zs"
}
# Create floating ip
......
output "instance_server_key_public_key" {
output "instance_server_public_key" {
value = openstack_compute_keypair_v2.user_key.public_key
}
output "instance_server_key_private_key" {
output "instance_server_private_key" {
value = openstack_compute_keypair_v2.user_key.private_key
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment