terraform-provider-forge

command module
v0.0.0-...-2d49025 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2020 License: MIT Imports: 3 Imported by: 0

README

Laravel Forge Terraform Provider

Examples

provider "forge" {
  token = "your_api_key"
}

data "forge_credential" "credential" {
  name = "test"
}

data "forge_server" "server01" {
  name = "server01"
}

resource "forge_server" "server02" {
    credential_id      = data.forge_credential.credential.id
    name               = "server02"
    php_version        = "php72"
    ip_address         = "66.120.15.15"
    private_ip_address = "10.10.10.10"
    platform           = "ocean2"
    region             = "New York 1"
    size               = "07"
    tags               = ["staging", "dev"]
    network            = [data.forge_server.server01.id]
}

output "ip-address" {
  value = forge_server.server02.ip_address
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL