Zheng Xi Zhou
Zheng Xi Zhou
Currently, we use `Available` to mark the completion of the Terraform execution job. After that, the output will be stored in a secret and the status of Configuration is updated....
job返回的错误格式比较混乱,得去除下asni color code ![image](https://user-images.githubusercontent.com/2805315/148744010-f151a913-d080-4fdc-9ab5-b951a27dec5a.png) 因为terraform cli返回的内容是在终端看的,所以加了asni
` I1221 03:13:39.798029 1 configuration_controller.go:260] "terraform apply job" Namespace="serverless-devs-default" Name="fc-testing.1835799444022432.environment-apply" 2021-12-21T03:13:39.805Z ERROR controller Reconciler error {"reconcilerGroup": "terraform.core.oam.dev", "reconcilerKind": "Configuration", "controller": "configuration", "name": "fc-testing.1835799444022432.environment", "namespace": "serverless-devs-default", "error": "failed to create/update cloud...
``` services: - healthy: false message: "\e[31m│\e[0m \e[0m\e[1m\e[31mError: \e[0m\e[0m\e[1mInvalid provider configuration\e[0m" name: poc workloadDefinition: apiVersion: terraform.core.oam.dev/v1beta1 kind: Configuration status: unhealthy ``` ``` If you ever set or change modules or...
Applying the following Configuration, hit an issue. ``` Error: Missing item separator on line 1: (source code not available) Expected a comma to mark the beginning of the next item....
``` Status: Apply: Message: Initializing the backend... Initializing provider plugins... - Finding latest version of hashicorp/azurerm... - Installing hashicorp/azurerm v2.78.0... ╷ │ Error: Failed to install provider │ │ Error...
``` ➜ terraform-controller git:(more-outputs) ✗ make install go: creating new go.mod: module tmp go get: added sigs.k8s.io/controller-tools v0.2.5 /Users/zhouzhengxi/go/bin/controller-gen "crd:trivialVersions=true" rbac:roleName=tf-api-role webhook paths="./..." output:crd:artifacts:config=chart/crds mv config/rbac/role.yaml chart/templates/tf_api_role.yaml kustomize build chart/crds...
``` ➜ /Users/zhouzhengxi k logs -f alibaba-cs-ack-destroy-2xjs9 Initializing modules... Initializing the backend... Initializing provider plugins... - Reusing previous version of hashicorp/alicloud from the dependency lock file - Using previously-installed hashicorp/alicloud...
I hit the following issue when applying vpc resource in https://github.com/ucloud/terraform-provider-ucloud/tree/master/examples/vpc. ``` ➜ vpc git:(master) t apply -auto-approve Terraform used the selected providers to generate the following execution plan. Resource...
I tried to update MaxVersion without changing TimeToLive's value, but it hit 'OTSParameterInvalid TimeToLive cannot be 0 or less than -1.' issue with the code below. ``` fmt.Println("UpdateTableSample started") updateTableReq...