doc nits tf provider

This commit is contained in:
Adrian Stobbe 2023-12-15 13:22:51 +01:00
parent 1a13e24428
commit aa01ebc077
3 changed files with 20 additions and 6 deletions

View file

@ -36,6 +36,12 @@ terraform {
}
```
Make sure to add the devbuild version number (without v prefix) as `<version>`. Alternatively, check the available versions here:
```bash
ls ~/.terraform.d/plugins/registry.terraform.io/edgelesssys/constellation
```
Alternatively, you can configure Terraform to use your binary by setting a [development override](https://developer.hashicorp.com/terraform/cli/config/config-file#development-overrides-for-provider-developers),
so that the registry path to the provider is replaced with the path to the locally built provider.
A `config.tfrc` file containing the necessary configuration can be created with the following commands:

View file

@ -101,5 +101,13 @@ The steps for applying the upgrade are as follows:
```bash
terraform init -upgrade
terraform apply
TF_LOG=INFO terraform apply
```
While verbose when creating all resources together, we recommend to enable logging to get output during the cluster resource creation.
5. Connect to the cluster
```bash
terraform output -raw kubeconfig > "$(pwd)/constellation-admin.conf"
```

View file

@ -86,7 +86,7 @@ func (a actionFactory) appendNewAction(
return compatibility.NewInvalidUpgradeError(
currentVersion.String(),
configTargetVersion.String(),
fmt.Errorf("this CLI only supports installing microservice version %s", newVersion),
fmt.Errorf("this Constellation version only supports installing microservice version %s", newVersion),
)
}
@ -114,7 +114,7 @@ func (a actionFactory) appendNewAction(
return compatibility.NewInvalidUpgradeError(
currentVersion.String(),
configTargetVersion.String(),
fmt.Errorf("this CLI only supports upgrading to microservice version %s", newVersion),
fmt.Errorf("this Constellation version only supports upgrading to microservice version %s", newVersion),
)
}
} else {