github.com/filecoin-project/bacalhau@v0.3.23-0.20230228154132-45c989550ace/ops/service-accounts/weave-flux/README.md (about) 1 # Weave Service Accounts 2 3 Weave will need a service account in each account that has an ops cluster. 4 5 ## Applying 6 7 ``` 8 cd ops/service-accounts/weave-flux 9 export WORKSPACE=development 10 export VARIABLES_FILE=../../terraform/$WORKSPACE.tfvars 11 bash ../../terraform/scripts/connect_workspace.sh $WORKSPACE 12 terraform workspace select $WORKSPACE-weave-flux 13 terraform apply -var-file ../../terraform/$WORKSPACE.tfvars -compact-warnings 14 ``` 15 16 Ignore the warnings about undeclared variables. 17 18 It will output a json file called `service-account-weave-flux-development-weave-flux.json` that contains the service account key. Send this to whoever needs it securely. 19 20 Then repeat for `staging` and `production` when you're ready.