- Replace the account_address and key-name values
terraform {
required_providers {
akash = {
source = "cloud-j-luna/akash"
version = "0.0.5"
}
}
}
provider "akash" {
account_address = "akash1g<redacted>"
keyring_backend = "os"
key_name = "mykey"
node = "https://akash-rpc.polkachu.com:443"
chain_id = "akashnet-2"
chain_version = "0.1.0"
}
resource "akash_deployment" "hello_world" {
sdl = file("${path.module}/deploy.yaml")
}
output "services" {
value = akash_deployment.hello_world.services
}