added linode provider
parent
ba82b59482
commit
4d3f5a73da
|
@ -25,7 +25,9 @@ pipeline:
|
||||||
environment:
|
environment:
|
||||||
- HTTP_PROXY=caladan:8888
|
- HTTP_PROXY=caladan:8888
|
||||||
- HTTPS_PROXY=caladan:8888
|
- HTTPS_PROXY=caladan:8888
|
||||||
secrets: [namecheap_api_key]
|
secrets:
|
||||||
|
- linode_token
|
||||||
|
- namecheap_api_key
|
||||||
|
|
||||||
apply:
|
apply:
|
||||||
image: registry.monotremata.xyz/terraform
|
image: registry.monotremata.xyz/terraform
|
||||||
|
|
4
main.tf
4
main.tf
|
@ -5,5 +5,9 @@ terraform {
|
||||||
source = "namecheap/namecheap"
|
source = "namecheap/namecheap"
|
||||||
version = ">= 2.0.0"
|
version = ">= 2.0.0"
|
||||||
}
|
}
|
||||||
|
linode = {
|
||||||
|
source = "linode/linode"
|
||||||
|
version = ">= 1.29.0"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,11 @@
|
||||||
|
|
||||||
export HTTP_PROXY=caladan:8888
|
export HTTP_PROXY=caladan:8888
|
||||||
export HTTPS_PROXY=caladan:8888
|
export HTTPS_PROXY=caladan:8888
|
||||||
|
|
||||||
NAMECHEAP_API_KEY=$(pass namecheap.com/api_key)
|
NAMECHEAP_API_KEY=$(pass namecheap.com/api_key)
|
||||||
export NAMECHEAP_API_KEY
|
export NAMECHEAP_API_KEY
|
||||||
|
|
||||||
|
LINODE_TOKEN=$(pass linode.com/token)
|
||||||
|
export LINODE_TOKEN
|
||||||
|
|
||||||
terraform "$@"
|
terraform "$@"
|
||||||
|
|
Loading…
Reference in New Issue