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

Add config.yaml files for IEM in the example output

parent 76ec005f
Branches
No related tags found
No related merge requests found
---
input: ~
input:
- openstack_username
- openstack_password
- openstack_auth_url
output: ~
engine: terraform
...
......@@ -10,10 +10,10 @@ required_version = ">= 0.14.0"
# Configure the OpenStack Provider
provider "openstack" {
user_name = var.username
user_name = var.openstack_username
tenant_name = "admin"
password = var.password
auth_url = var.auth_url
password = var.openstack_password
auth_url = var.openstack_auth_url
insecure = true
}
......@@ -44,7 +44,7 @@ resource "openstack_compute_instance_v2" "nginx" {
# Create ssh keys
resource "openstack_compute_keypair_v2" "user_key" {
name = "user1"
public_key = var.ssh_key
public_key = "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAsRO3dcuZVB0but7Ti9eN+Ti4FvRzQfZT6DugkOnasGSwQkuBUxr0RGHYG2O+C/ul4bN4wcM8VZ4aX9bk9vwkvBkk2uJhy0ZHqIzuwzTOmRPScHWApkxGEANO4QYiYdPYdjmGgAVuKhdqPYOJc5Spkf3n4sYrU89rhC4rLyRs7doYofxpwBVaDfUExPLAtwFb2UGGzC6c0SJzqX4ZFq72NC0zs"
}
# Create floating ip
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment