I'm trying to create an OpenStack load balancer with Terraform but I get the following error upon terraform apply:
Error: Error creating openstack_lb_loadbalancer_v2: Resource not found
on load-balancer/main.tf line 71, in…
When I execute terraform init I have the following output :
Initializing modules...
- compute in modules\compute
- private_network in modules\private_network
- public_ip in modules\public_ip
- route in modules\route
Initializing the…
I am trying to enable azure monitor feature for existing virtual machines which checks for health and performance of the VM using terraform but I am not able to find the right documentation for the same. Can you help me for the same because I want…
Terrafomr OPENSTACK provider, I am unable to find the output parameter for CPU and memory
Example:
output "instanceip"
value = "${openstack_compute_instance_v2.instance.network.0.fixed_ip_v4}"
We get IP from above code here I need to get output…
I have written a terraform module(v0.14) that can be used to provision multiple instances in openstack with the correct availability_zone,network-port, correct flavor, can create 1 local disk or 1 blockstorage_volume based on boolean input variables…
I'm trying to create a Openstack instance using Terraform, and after that, I want to configure the user "ubuntu" with my ssh-key.
So far I'm doing:
terraform-instances.tf
resource "openstack_compute_keypair_v2" "tf-keypair" {
name =…
I'm trying to obtain a public key from Openstack (to later save it on local machine) using data source openstack_compute_keypair_v2 in Terraform:
data "openstack_compute_keypair_v2" "app_public_key" {
name = "app-key"
}
, but when I run…
How am I supposed to create a private network/subnet on OVH using Terraform?
There is a common resource related to OpenStack (openstack_networking_subnet_v2) and ovh-specific (ovh_publiccloud_private_network_subnet) if you use ovh provider.
I am…
I have a Terraform Cloud account connected to a git repo (a VCS-backed workspace), so I can only do VCS-driven run workflows. I have a VM with an attached volume and I would like to recreate the volume from scratch (yes, losing all data). I have…
I'm trying to use terraform variable data (CSV file) to create a resource group and the name of the resource group is added into the CSV file. I'm currently experiencing the below error
│ Error: Unsupported attribute
│
│ on testtf.tf line 11, in…
I'm trying to use terraform variable data (CSV file) to create a resource group and the name of the resource group are added into the CSV file.
I'm currently experiencing the below error.
provider "azurerm" {
features{}
}
locals {
…
I try to put all floating ips of my coturn servers in a ansible inventory.
resource "local_file" "hosts_cfg" {
content = templatefile("${path.module}/templates/hosts.tpl",
{
coturn =…
I’m using openstack_compute_instance_v2 to create instances in OpenStack. There is a lifecycle setting create_before_destroy = true present. And it works just fine in case I e.g. change volume size, where instances needs to be replaced.
But. When I…
I have setup a Windows server and installed ssh using Chocolatey. If I run this manually I have no problems connecting and running my commands. When I try to use Terraform to run my commands it connects successfully but doesn't run any commands.
I…