Skip to content

Commit

Permalink
Reverting WhiteSpace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rami Radaideh committed May 10, 2024
1 parent 503d09a commit 1c7ed9b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions apis/v1beta1/workspace_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ type WorkspaceParameters struct {
DestroyArgs []string `json:"destroyArgs,omitempty"`

// Boolean value to indicate CLI logging of terraform execution is enabled or not
// +optional
// +optional
EnableTerraformCLILogging bool `json:"enableTerraformCLILogging,omitempty"`
}

Expand All @@ -161,8 +161,8 @@ type WorkspaceObservation struct {

// A WorkspaceSpec defines the desired state of a Workspace.
type WorkspaceSpec struct {
xpv1.ResourceSpec `json:",inline"`
ForProvider WorkspaceParameters `json:"forProvider"`
xpv1.ResourceSpec `json:",inline"`
ForProvider WorkspaceParameters `json:"forProvider"`
}

// A WorkspaceStatus represents the observed state of a Workspace.
Expand Down
18 changes: 9 additions & 9 deletions examples/providerconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ spec:
# Crossplane provider config, but could use multiple Terraform providers each
# with their own credentials.
credentials:
- filename: gcp-credentials.json
source: Secret
secretRef:
namespace: upbound-system
name: gcp-creds
key: credentials
- filename: gcp-credentials.json
source: Secret
secretRef:
namespace: upbound-system
name: gcp-creds
key: credentials
# This optional configuration block can be used to inject HCL into any
# workspace that uses this provider config, for example to setup Terraform
# providers.
configuration: |
provider "google" {
credentials = "gcp-credentials.json"
project = "official-provider-testing"
}
credentials = "gcp-credentials.json"
project = "official-provider-testing"
}
// Modules _must_ use remote state. The provider does not persist state.
terraform {
Expand Down

0 comments on commit 1c7ed9b

Please sign in to comment.