We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1afd699 commit 4287799Copy full SHA for 4287799
client/cloud_credentials.go
@@ -5,7 +5,7 @@ import "strings"
5
type AwsCredentialsType string
6
type GcpCredentialsType string
7
type AzureCredentialsType string
8
-type VaultCrednetialsType string
+type VaultCredentialsType string
9
10
type Credentials struct {
11
Id string `json:"id"`
@@ -92,7 +92,7 @@ type VaultCredentialsValuePayload struct {
92
type VaultCredentialsCreatePayload struct {
93
Name string `json:"name,omitempty"`
94
OrganizationId string `json:"organizationId,omitempty"`
95
- Type VaultCrednetialsType `json:"type"`
+ Type VaultCredentialsType `json:"type"`
96
Value VaultCredentialsValuePayload `json:"value"`
97
}
98
@@ -127,7 +127,7 @@ const (
127
AzureCostCredentialsType AzureCredentialsType = "AZURE_CREDENTIALS"
128
AzureServicePrincipalCredentialsType AzureCredentialsType = "AZURE_SERVICE_PRINCIPAL_FOR_DEPLOYMENT"
129
AzureOidcCredentialsType AzureCredentialsType = "AZURE_OIDC"
130
- VaultOidcCredentialsType VaultCrednetialsType = "VAULT_OIDC"
+ VaultOidcCredentialsType VaultCredentialsType = "VAULT_OIDC"
131
)
132
133
func (client *ApiClient) CloudCredentials(id string) (Credentials, error) {
client/cloud_credentials_project_assignment_test.go
@@ -15,7 +15,7 @@ var _ = Describe("Credentials Project Assignment", func() {
15
16
Describe("AssignCloudCredentialsToProject", func() {
17
expectedResponse := CloudCredentialsProjectAssignment{
18
- Id: "assigment id",
+ Id: "assignment id",
19
CredentialId: "credentialId",
20
ProjectId: projectId,
21
client/cost_credentials_project_assignment_test.go
@@ -15,7 +15,7 @@ var _ = Describe(" Cost Credentials Project Assignment", func() {
Describe("AssignCostCredentialsToProject", func() {
expectedResponse := CostCredentialProjectAssignment{
- ProjectId: "assigment id",
+ ProjectId: "assignment id",
CredentialsId: "credentialId",
CredentialsType: "GCP_CREDENTIALS",
@@ -79,13 +79,13 @@ var _ = Describe(" Cost Credentials Project Assignment", func() {
79
var actualResult []CostCredentialProjectAssignment
80
81
firstResulteResponse := CostCredentialProjectAssignment{
82
83
84
85
86
87
secondResulteResponse := CostCredentialProjectAssignment{
88
89
CredentialsId: "credentialId-2",
90
91
client/custom_flow.go
@@ -54,7 +54,7 @@ func (client *ApiClient) CustomFlowCreate(payload CustomFlowCreatePayload) (*Cus
54
return nil, err
55
56
57
- payloadWithOrganzationId := struct {
+ payloadWithOrganizationId := struct {
58
OrganizationId string `json:"organizationId"`
59
CustomFlowCreatePayload
60
}{
@@ -63,7 +63,7 @@ func (client *ApiClient) CustomFlowCreate(payload CustomFlowCreatePayload) (*Cus
63
64
65
var result CustomFlow
66
- if err := client.http.Post("/custom-flow", &payloadWithOrganzationId, &result); err != nil {
+ if err := client.http.Post("/custom-flow", &payloadWithOrganizationId, &result); err != nil {
67
68
69
client/gpg_key.go
@@ -21,7 +21,7 @@ func (client *ApiClient) GpgKeyCreate(payload *GpgKeyCreatePayload) (*GpgKey, er
22
23
24
25
26
GpgKeyCreatePayload
27
@@ -30,7 +30,7 @@ func (client *ApiClient) GpgKeyCreate(payload *GpgKeyCreatePayload) (*GpgKey, er
30
31
32
var result GpgKey
33
- if err := client.http.Post("/gpg-keys", payloadWithOrganzationId, &result); err != nil {
+ if err := client.http.Post("/gpg-keys", payloadWithOrganizationId, &result); err != nil {
34
35
36
client/kubernetes_credentials.go
@@ -1,22 +1,22 @@
1
package client
2
3
-type KubernetesCrednetialsType string
+type KubernetesCredentialsType string
4
const (
- KubeconfigCredentialsType KubernetesCrednetialsType = "K8S_KUBECONFIG_FILE"
- AwsEksCredentialsType KubernetesCrednetialsType = "K8S_EKS_AUTH"
- AzureAksCredentialsType KubernetesCrednetialsType = "K8S_AZURE_AKS_AUTH"
- GcpGkeCredentialsType KubernetesCrednetialsType = "K8S_GCP_GKE_AUTH"
+ KubeconfigCredentialsType KubernetesCredentialsType = "K8S_KUBECONFIG_FILE"
+ AwsEksCredentialsType KubernetesCredentialsType = "K8S_EKS_AUTH"
+ AzureAksCredentialsType KubernetesCredentialsType = "K8S_AZURE_AKS_AUTH"
+ GcpGkeCredentialsType KubernetesCredentialsType = "K8S_GCP_GKE_AUTH"
12
type KubernetesCredentialsCreatePayload struct {
13
Name string `json:"name"`
14
- Type KubernetesCrednetialsType `json:"type"`
+ Type KubernetesCredentialsType `json:"type"`
Value interface{} `json:"value"`
type KubernetesCredentialsUpdatePayload struct {
client/sshkey_test.go
@@ -81,7 +81,7 @@ var _ = Describe("SshKey", func() {
})
- Describe("SshKetUpdate", func() {
+ Describe("SshKeyUpdate", func() {
Describe("Success", func() {
updateMockSshKey := mockSshKey
updateMockSshKey.Value = "new-value"
docs/data-sources/project.md
@@ -19,12 +19,12 @@ data "env0_project" "default_project" {
data "env0_project" "with_parent_name_filter" {
name = "Default Organization Project"
- parent_project_name = "parent projet name"
+ parent_project_name = "parent project name"
data "env0_project" "with_parent_id_filter" {
- parent_project_id = "parent-projet-id"
+ parent_project_id = "parent-project-id"
28
29
```
docs/data-sources/user.md
@@ -18,7 +18,7 @@ data "env0_user" "user_by_email_example" {
output "user_id" {
- value = data.env0_user.user_by_email_exmple.id
+ value = data.env0_user.user_by_email_example.id
docs/resources/agent_project_assignment.md
@@ -43,5 +43,5 @@ resource "env0_agent_project_assignment" "example" {
43
Import is supported using the following syntax:
44
45
```shell
46
-terraform import env0_agent_project_assigment.example project_id
+terraform import env0_agent_project_assignment.example project_id
47
0 commit comments