Skip to content

Commit

Permalink
fix: [CDS-100941]: Since account id may be in existing data config we…
Browse files Browse the repository at this point in the history
… cant make it just computed, must be optional too (#1130)

Signed-off-by: Mirko <[email protected]>
Co-authored-by: Mirko <[email protected]>
  • Loading branch information
mteodor and Mirko authored Dec 3, 2024
1 parent 29a554a commit a3c792c
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ func DataSourceGitopsAgent() *schema.Resource {
Description: "Account identifier of the GitOps agent.",
Type: schema.TypeString,
Computed: true,
Optional: true,
Deprecated: "This field is deprecated and will be removed in a future release.",
},
"project_id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func DataSourceGitopsAgentDeployYaml() *schema.Resource {
Description: "Account identifier of the GitOps agent.",
Type: schema.TypeString,
Computed: true,
Optional: true,
Deprecated: "This field is deprecated and will be removed in a future release.",
},
"project_id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ func DatasourceGitopsAppProjectMapping() *schema.Resource {
Description: "Account identifier of the GitOps agent's Application Project.",
Type: schema.TypeString,
Computed: true,
Optional: true,
Deprecated: "This field is deprecated and will be removed in a future release.",
},
"org_id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func DataSourceGitopsApplications() *schema.Resource {
Description: "Account identifier of the GitOps application.",
Type: schema.TypeString,
Computed: true,
Optional: true,
Deprecated: "This field is deprecated and will be removed in a future release.",
},
"org_id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ func DataSourceGitopsCluster() *schema.Resource {
Description: "Account identifier of the GitOps cluster.",
Type: schema.TypeString,
Computed: true,
Optional: true,
Deprecated: "This field is deprecated and will be removed in a future release.",
},
"project_id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ func DataSourceGitopsGnupg() *schema.Resource {
Description: "Account Identifier for the GnuPG Key.",
Type: schema.TypeString,
Computed: true,
Optional: true,
Deprecated: "This field is deprecated and will be removed in a future release.",
},
"org_id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ func DataSourceGitOpsProject() *schema.Resource {
Description: "Account identifier of the GitOps Agent where argo project resides.",
Type: schema.TypeString,
Computed: true,
Optional: true,
Deprecated: "This field is deprecated and will be removed in a future release.",
},
"org_id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ func DataSourceGitopsRepository() *schema.Resource {
Description: "Account identifier of the GitOps repository.",
Type: schema.TypeString,
Computed: true,
Optional: true,
Deprecated: "This field is deprecated and will be removed in a future release.",
},
"org_id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func DataSourceGitOpsRepoCert() *schema.Resource {
Description: "Account identifier of the GitOps repository certificate.",
Type: schema.TypeString,
Computed: true,
Optional: true,
Deprecated: "This field is deprecated and will be removed in a future release.",
},
"org_id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func DataSourceGitOpsRepoCred() *schema.Resource {
Description: "Account identifier of the Repository Credentials.",
Type: schema.TypeString,
Computed: true,
Optional: true,
Deprecated: "This field is deprecated and will be removed in a future release.",
},
"identifier": {
Expand Down

0 comments on commit a3c792c

Please sign in to comment.