Skip to content

Commit 4c6e4fe

Browse files
authored
Merge branch 'main' into feat/Implement-list-resource-for-domain-mapping
2 parents b42e2ad + da5e24c commit 4c6e4fe

File tree

84 files changed

+5759
-2420
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+5759
-2420
lines changed

.github/workflows/integration-test-opentofu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
SCC_USERNAME: ${{ secrets.SCC_USERNAME }}
5252
SCC_PASSWORD: ${{ secrets.SCC_PASSWORD }}
5353
SCC_INSTANCE_URL: ${{ secrets.SCC_INSTANCE_URL }}
54-
TF_VAR_subaccount: ${{ secrets.SUBACCOUNT_ID }}
54+
TF_VAR_subaccount: ${{ secrets.INTEGRATION_SUBACCOUNT_ID }}
5555
TF_VAR_cloud_user: ${{ secrets.CLOUD_USER }}
5656
TF_VAR_cloud_password: ${{ secrets.CLOUD_PASSWORD }}
5757

.github/workflows/integration-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
SCC_USERNAME: ${{ secrets.SCC_USERNAME }}
5252
SCC_PASSWORD: ${{ secrets.SCC_PASSWORD }}
5353
SCC_INSTANCE_URL: ${{ secrets.SCC_INSTANCE_URL }}
54-
TF_VAR_subaccount: ${{ secrets.SUBACCOUNT_ID }}
54+
TF_VAR_subaccount: ${{ secrets.INTEGRATION_SUBACCOUNT_ID }}
5555
TF_VAR_cloud_user: ${{ secrets.CLOUD_USER }}
5656
TF_VAR_cloud_password: ${{ secrets.CLOUD_PASSWORD }}
5757

.github/workflows/sbom-creation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v6
14-
- uses: anchore/sbom-action@v0.22.0
14+
- uses: anchore/sbom-action@v0.22.1
1515
with:
1616
artifact-name: sbom.spdx
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "scc_subaccount_abap_service_channel List Resource - SAP Cloud Connector"
4+
subcategory: ""
5+
description: |-
6+
SAP Cloud Connector Subaccount ABAP service channel list resource.
7+
This list resource retrieves Subaccount ABAP service channel for a specific region host and subaccount.
8+
---
9+
10+
# scc_subaccount_abap_service_channel (List Resource)
11+
12+
SAP Cloud Connector **Subaccount ABAP service channel** list resource.
13+
14+
This list resource retrieves Subaccount ABAP service channel for a specific region host and subaccount.
15+
16+
## Example Usage
17+
18+
```terraform
19+
# This feature requires Terraform v1.14.0 or later (Stable as of 2026)
20+
# List resources must be defined in .tfquery.hcl files.
21+
22+
# Generic template for a list block
23+
list "scc_subaccount_abap_service_channel" "<label_name>" {
24+
# (Required) Provider instance to use
25+
provider = provider_name
26+
27+
# Filter configuration defined by the provider
28+
config {
29+
# Provider-specific filter arguments...
30+
}
31+
}
32+
33+
# List block to discover all scc subaccount abap service channel
34+
# Returns only the resource identities (IDs/Labels) by default.
35+
list "scc_subaccount_abap_service_channel" "all" {
36+
provider = scc
37+
38+
# (Required)
39+
config {
40+
region_host = "cf.us10.hana.ondemand.com"
41+
subaccount = "3ecb7280-c7d4-4db6-b7da-7af3cdb13505"
42+
}
43+
}
44+
45+
# List block to discover scc subaccount abap service channel with full resource details
46+
# Setting include_resource = true returns full resource objects
47+
list "scc_subaccount_abap_service_channel" "with_resource" {
48+
provider = scc
49+
include_resource = true
50+
51+
# (Required)
52+
config {
53+
region_host = "cf.us10.hana.ondemand.com"
54+
subaccount = "3ecb7280-c7d4-4db6-b7da-7af3cdb13505"
55+
}
56+
}
57+
```
58+
59+
<!-- schema generated by tfplugindocs -->
60+
## Schema
61+
62+
### Required
63+
64+
- `region_host` (String) The host URL of the region (e.g., `cf.eu12.hana.ondemand.com`).
65+
- `subaccount` (String) The GUID of the SAP subaccount.
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "scc_subaccount_k8s_service_channel List Resource - SAP Cloud Connector"
4+
subcategory: ""
5+
description: |-
6+
SAP Cloud Connector Subaccount K8S Service Channel list resource.
7+
This list resource retrieves Subaccount K8S Service Channel for a specific region host and subaccount.
8+
---
9+
10+
# scc_subaccount_k8s_service_channel (List Resource)
11+
12+
SAP Cloud Connector **Subaccount K8S Service Channel** list resource.
13+
14+
This list resource retrieves Subaccount K8S Service Channel for a specific region host and subaccount.
15+
16+
## Example Usage
17+
18+
```terraform
19+
# This feature requires Terraform v1.14.0 or later (Stable as of 2026)
20+
# List resources must be defined in .tfquery.hcl files.
21+
22+
# Generic template for a list block
23+
list "scc_subaccount_k8s_service_channel" "<label_name>" {
24+
# (Required) Provider instance to use
25+
provider = provider_name
26+
27+
# Filter configuration defined by the provider
28+
config {
29+
# Provider-specific filter arguments...
30+
}
31+
}
32+
33+
# List block to discover all scc subaccount k8s service channel
34+
# Returns only the resource identities (IDs/Labels) by default.
35+
list "scc_subaccount_k8s_service_channel" "all" {
36+
provider = scc
37+
38+
# (Required)
39+
config {
40+
region_host = "cf.us10.hana.ondemand.com"
41+
subaccount = "3ecb7280-c7d4-4db6-b7da-7af3cdb13505"
42+
}
43+
}
44+
45+
# List block to discover scc subaccount k8s service channel with full resource details
46+
# Setting include_resource = true returns full resource objects
47+
list "scc_subaccount_k8s_service_channel" "with_resource" {
48+
provider = scc
49+
include_resource = true
50+
51+
# (Required)
52+
config {
53+
region_host = "cf.us10.hana.ondemand.com"
54+
subaccount = "3ecb7280-c7d4-4db6-b7da-7af3cdb13505"
55+
}
56+
}
57+
```
58+
59+
<!-- schema generated by tfplugindocs -->
60+
## Schema
61+
62+
### Required
63+
64+
- `region_host` (String) The host URL of the region (e.g., `cf.eu12.hana.ondemand.com`).
65+
- `subaccount` (String) The GUID of the SAP subaccount.
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "scc_system_mapping List Resource - SAP Cloud Connector"
4+
subcategory: ""
5+
description: |-
6+
SAP Cloud Connector System Mapping list resource.
7+
This list resource retrieves system mappings for a specific region host and subaccount.
8+
---
9+
10+
# scc_system_mapping (List Resource)
11+
12+
SAP Cloud Connector **System Mapping** list resource.
13+
14+
This list resource retrieves system mappings for a specific region host and subaccount.
15+
16+
## Example Usage
17+
18+
```terraform
19+
# This feature requires Terraform v1.14.0 or later (Stable as of 2026)
20+
# List resources must be defined in .tfquery.hcl files.
21+
22+
# Generic template for a list block
23+
list "scc_system_mapping" "<label_name>" {
24+
# (Required) Provider instance to use
25+
provider = provider_name
26+
27+
# Filter configuration defined by the provider
28+
config {
29+
# Provider-specific filter arguments...
30+
}
31+
}
32+
33+
# List block to discover system mappings
34+
list "scc_system_mapping" "all" {
35+
provider = scc
36+
include_resource = true
37+
38+
# (Required)
39+
config {
40+
region_host = "cf.ap21.hana.ondemand.com"
41+
subaccount = "7ecb7280-c7d4-4db6-b7da-7af3cdb13505"
42+
}
43+
}
44+
```
45+
46+
<!-- schema generated by tfplugindocs -->
47+
## Schema
48+
49+
### Required
50+
51+
- `region_host` (String) The host URL of the region (e.g., `cf.eu12.hana.ondemand.com`).
52+
- `subaccount` (String) The GUID of the SAP subaccount.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "scc_system_mapping_resource List Resource - SAP Cloud Connector"
4+
subcategory: ""
5+
description: |-
6+
SAP Cloud Connector System Mapping Resource list resource.
7+
This list resource retrieves system mappings resource for a specific region host, subaccount, virtual_host and virtual_port.
8+
---
9+
10+
# scc_system_mapping_resource (List Resource)
11+
12+
SAP Cloud Connector **System Mapping Resource** list resource.
13+
14+
This list resource retrieves system mappings resource for a specific region host, subaccount, virtual_host and virtual_port.
15+
16+
## Example Usage
17+
18+
```terraform
19+
# This feature requires Terraform v1.14.0 or later (Stable as of 2026)
20+
# List resources must be defined in .tfquery.hcl files.
21+
22+
# Generic template for a list block
23+
list "scc_system_mapping_resource" "<label_name>" {
24+
# (Required) Provider instance to use
25+
provider = provider_name
26+
27+
# Filter configuration defined by the provider
28+
config {
29+
# Provider-specific filter arguments...
30+
}
31+
}
32+
33+
# List block to discover system mappings resource
34+
list "scc_system_mapping_resource" "all" {
35+
provider = scc
36+
include_resource = true
37+
38+
# (Required)
39+
config {
40+
region_host = "cf.ap21.hana.ondemand.com"
41+
subaccount = "7ecb7280-c7d4-4db6-b7da-7af3cdb13505"
42+
virtual_host = "virtual.example.com"
43+
virtual_port = "443"
44+
}
45+
}
46+
```
47+
48+
<!-- schema generated by tfplugindocs -->
49+
## Schema
50+
51+
### Required
52+
53+
- `region_host` (String) The host URL of the region (e.g., `cf.eu12.hana.ondemand.com`).
54+
- `subaccount` (String) The GUID of the SAP subaccount.
55+
- `virtual_host` (String) The virtual host name used in the system mapping.
56+
- `virtual_port` (String) The virtual port used in the system mapping.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# This feature requires Terraform v1.14.0 or later (Stable as of 2026)
2+
# List resources must be defined in .tfquery.hcl files.
3+
4+
# Generic template for a list block
5+
list "scc_subaccount_abap_service_channel" "<label_name>" {
6+
# (Required) Provider instance to use
7+
provider = provider_name
8+
9+
# Filter configuration defined by the provider
10+
config {
11+
# Provider-specific filter arguments...
12+
}
13+
}
14+
15+
# List block to discover all scc subaccount abap service channel
16+
# Returns only the resource identities (IDs/Labels) by default.
17+
list "scc_subaccount_abap_service_channel" "all" {
18+
provider = scc
19+
20+
# (Required)
21+
config {
22+
region_host = "cf.us10.hana.ondemand.com"
23+
subaccount = "3ecb7280-c7d4-4db6-b7da-7af3cdb13505"
24+
}
25+
}
26+
27+
# List block to discover scc subaccount abap service channel with full resource details
28+
# Setting include_resource = true returns full resource objects
29+
list "scc_subaccount_abap_service_channel" "with_resource" {
30+
provider = scc
31+
include_resource = true
32+
33+
# (Required)
34+
config {
35+
region_host = "cf.us10.hana.ondemand.com"
36+
subaccount = "3ecb7280-c7d4-4db6-b7da-7af3cdb13505"
37+
}
38+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# This feature requires Terraform v1.14.0 or later (Stable as of 2026)
2+
# List resources must be defined in .tfquery.hcl files.
3+
4+
# Generic template for a list block
5+
list "scc_subaccount_k8s_service_channel" "<label_name>" {
6+
# (Required) Provider instance to use
7+
provider = provider_name
8+
9+
# Filter configuration defined by the provider
10+
config {
11+
# Provider-specific filter arguments...
12+
}
13+
}
14+
15+
# List block to discover all scc subaccount k8s service channel
16+
# Returns only the resource identities (IDs/Labels) by default.
17+
list "scc_subaccount_k8s_service_channel" "all" {
18+
provider = scc
19+
20+
# (Required)
21+
config {
22+
region_host = "cf.us10.hana.ondemand.com"
23+
subaccount = "3ecb7280-c7d4-4db6-b7da-7af3cdb13505"
24+
}
25+
}
26+
27+
# List block to discover scc subaccount k8s service channel with full resource details
28+
# Setting include_resource = true returns full resource objects
29+
list "scc_subaccount_k8s_service_channel" "with_resource" {
30+
provider = scc
31+
include_resource = true
32+
33+
# (Required)
34+
config {
35+
region_host = "cf.us10.hana.ondemand.com"
36+
subaccount = "3ecb7280-c7d4-4db6-b7da-7af3cdb13505"
37+
}
38+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# This feature requires Terraform v1.14.0 or later (Stable as of 2026)
2+
# List resources must be defined in .tfquery.hcl files.
3+
4+
# Generic template for a list block
5+
list "scc_system_mapping" "<label_name>" {
6+
# (Required) Provider instance to use
7+
provider = provider_name
8+
9+
# Filter configuration defined by the provider
10+
config {
11+
# Provider-specific filter arguments...
12+
}
13+
}
14+
15+
# List block to discover system mappings
16+
list "scc_system_mapping" "all" {
17+
provider = scc
18+
include_resource = true
19+
20+
# (Required)
21+
config {
22+
region_host = "cf.ap21.hana.ondemand.com"
23+
subaccount = "7ecb7280-c7d4-4db6-b7da-7af3cdb13505"
24+
}
25+
}

0 commit comments

Comments
 (0)