generated from hashicorp/terraform-provider-scaffolding-framework
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Wanted behaviour
Create terraform.tfstate
Occured behaviour
Error: Failed to initialize connection to podman server
with provider["registry.terraform.io/project0/podman"],
on main.tf line 9, in provider "podman":
9: provider "podman" {}
URI: unix:///run/podman/podman.sock, error: unable to connect to Podman socket: Get
"http://d/v4.0.3/libpod/_ping": dial unix /run/podman/podman.sock: connect: no such
file or directoryReproduce steps
- Add this to
main.tf
terraform {
required_providers {
podman = {
source = "project0/podman"
}
}
}
provider "podman" {}
resource "podman_network" "network" {}- Run
terraform initandterraform apply
System info
Using Ubuntu 22.04 on WSL2.
Terraform version: 1.2.2 on linux_amd64
Podman version: 3.4.4
Metadata
Metadata
Assignees
Labels
No labels