Reputation: 9584
Where the pipelines run I do not have access to the underlying environment, I'm guessing the issue stems from attempting to use that provider at all with terraform? provider:
terraform {
cloud {
organization = "myorg"
workspaces {
tags = ["main"]
}
}
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.39.0"
}
docker = {
source = "kreuzwerker/docker"
version = "2.11.0"
}
}
}
data "google_client_config" "default" {}
provider "docker" {
registry_auth {
address = "gcr.io"
username = "oauth2accesstoken"
password = data.google_client_config.default.access_token
}
}
What's the expected process here? Is docker something that can't be used together with terraform cloud? Do I have to host a docker daemon somehow somehwere? I've been searching for any kind of examples/documentation/instruction.
Upvotes: 1
Views: 830