doc(fs-forgejo-service): WiP - mob-1 stage 3: OTC ECS - do terraform
|
@ -1,6 +1,9 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.14.0/.schema/devbox.schema.json",
|
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.14.0/.schema/devbox.schema.json",
|
||||||
"packages": ["nodejs@latest"],
|
"packages": [
|
||||||
|
"nodejs@latest",
|
||||||
|
"terraform@latest"
|
||||||
|
],
|
||||||
"shell": {
|
"shell": {
|
||||||
"init_hook": [
|
"init_hook": [
|
||||||
"echo 'Welcome to devbox!' > /dev/null"
|
"echo 'Welcome to devbox!' > /dev/null"
|
||||||
|
|
48
devbox.lock
|
@ -68,6 +68,54 @@
|
||||||
"store_path": "/nix/store/m7imcmwi4hschl257dzc33gxciqlf4bm-nodejs-23.10.0"
|
"store_path": "/nix/store/m7imcmwi4hschl257dzc33gxciqlf4bm-nodejs-23.10.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"terraform@latest": {
|
||||||
|
"last_modified": "2025-04-10T20:20:34Z",
|
||||||
|
"resolved": "github:NixOS/nixpkgs/d19cf9dfc633816a437204555afeb9e722386b76#terraform",
|
||||||
|
"source": "devbox-search",
|
||||||
|
"version": "1.11.4",
|
||||||
|
"systems": {
|
||||||
|
"aarch64-darwin": {
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "out",
|
||||||
|
"path": "/nix/store/46l1vs4h00h1y3n3xxwzab0a16mawfcs-terraform-1.11.4",
|
||||||
|
"default": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"store_path": "/nix/store/46l1vs4h00h1y3n3xxwzab0a16mawfcs-terraform-1.11.4"
|
||||||
|
},
|
||||||
|
"aarch64-linux": {
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "out",
|
||||||
|
"path": "/nix/store/knyqig364fi94f3z33q47jawv9b4h4sy-terraform-1.11.4",
|
||||||
|
"default": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"store_path": "/nix/store/knyqig364fi94f3z33q47jawv9b4h4sy-terraform-1.11.4"
|
||||||
|
},
|
||||||
|
"x86_64-darwin": {
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "out",
|
||||||
|
"path": "/nix/store/9w7xlspipmx4kal4bagqnf76h0wv8lx8-terraform-1.11.4",
|
||||||
|
"default": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"store_path": "/nix/store/9w7xlspipmx4kal4bagqnf76h0wv8lx8-terraform-1.11.4"
|
||||||
|
},
|
||||||
|
"x86_64-linux": {
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "out",
|
||||||
|
"path": "/nix/store/xlg2aqgy2fwilpfnla4313f39vs0hhmb-terraform-1.11.4",
|
||||||
|
"default": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"store_path": "/nix/store/xlg2aqgy2fwilpfnla4313f39vs0hhmb-terraform-1.11.4"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
After Width: | Height: | Size: 577 KiB |
After Width: | Height: | Size: 658 KiB |
After Width: | Height: | Size: 337 KiB |
After Width: | Height: | Size: 749 KiB |
After Width: | Height: | Size: 604 KiB |
After Width: | Height: | Size: 590 KiB |
After Width: | Height: | Size: 1.1 MiB |
After Width: | Height: | Size: 592 KiB |
After Width: | Height: | Size: 776 KiB |
After Width: | Height: | Size: 975 KiB |
After Width: | Height: | Size: 1 MiB |
After Width: | Height: | Size: 581 KiB |
After Width: | Height: | Size: 1.2 MiB |
After Width: | Height: | Size: 1.2 MiB |
After Width: | Height: | Size: 1.2 MiB |
After Width: | Height: | Size: 972 KiB |
After Width: | Height: | Size: 1.6 MiB |
After Width: | Height: | Size: 1,004 KiB |
After Width: | Height: | Size: 780 KiB |
After Width: | Height: | Size: 929 KiB |
After Width: | Height: | Size: 949 KiB |
After Width: | Height: | Size: 902 KiB |
After Width: | Height: | Size: 328 KiB |
After Width: | Height: | Size: 956 KiB |
After Width: | Height: | Size: 686 KiB |
|
@ -93,3 +93,80 @@ always be aware of costs!
|
||||||
## current state
|
## current state
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
## ... break of stephan from 14h45-16h00
|
||||||
|
|
||||||
|
## terraform, driver is daniel
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## in otc, new driver is cristopher
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
install terraform ...
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### otc provider
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
### auth
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
```bash
|
||||||
|
export OS_ACCESS_KEY=<your-key>
|
||||||
|
export OS_SECRET_KEY=<your-key>
|
||||||
|
export OS_SECURITY_TOKEN=<your-token>
|
||||||
|
```
|
||||||
|
|
||||||
|
## apply
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## syncing
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### statefile, needs to be shared
|
||||||
|
|
||||||
|

|