diff --git a/output_file_example/nginx_openstack_with_agents/terraform/config.yaml b/output_file_example/nginx_openstack_with_agents/terraform/config.yaml index b5020bfca6aecac4c769462c05669a28751bbfc4..77edc6dfdcdd484647221fab5e92ad6e2c491696 100644 --- a/output_file_example/nginx_openstack_with_agents/terraform/config.yaml +++ b/output_file_example/nginx_openstack_with_agents/terraform/config.yaml @@ -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 ... diff --git a/output_file_example/nginx_openstack_with_agents/terraform/main.tf b/output_file_example/nginx_openstack_with_agents/terraform/main.tf index 31092e12e16a9e9cc3c056fef7e8f2db8b7b4f5a..5597ca0e3a5f4dca787b39d3c406f8a37b5aad36 100644 --- a/output_file_example/nginx_openstack_with_agents/terraform/main.tf +++ b/output_file_example/nginx_openstack_with_agents/terraform/main.tf @@ -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 diff --git a/output_file_example/nginx_openstack_with_agents/terraform/output.tf b/output_file_example/nginx_openstack_with_agents/terraform/output.tf index 4f2a52f2f9ab10b20d2d58aaae665cf2c81cb63c..ec7fc6ad92d2a213feffb9e65f47146b61f6792c 100644 --- a/output_file_example/nginx_openstack_with_agents/terraform/output.tf +++ b/output_file_example/nginx_openstack_with_agents/terraform/output.tf @@ -1,7 +1,7 @@ -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