File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ import (
1212)
1313
1414func main () {
15- region := string ( dremio . LISTDREMIOINSTANCESREGIONIDPARAMETER_EU01 ) // Region where the resources will be created
16- projectId := "PROJECT_ID" // Your STACKIT project ID
15+ region := "eu01" // Region where the resources will be created
16+ projectId := "PROJECT_ID" // Your STACKIT project ID
1717
1818 ctx := context .Background ()
1919
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ import (
1010)
1111
1212func main () {
13- region := string ( intake . LISTINTAKERUNNERSREGIONIDPARAMETER_EU01 ) // Region where the resources will be created
14- projectId := "PROJECT_ID" // Your STACKIT project ID
13+ region := "eu01" // Region where the resources will be created
14+ projectId := "PROJECT_ID" // Your STACKIT project ID
1515
1616 dremioCatalogURI := "DREMIO_CATALOG_URI" //nolint:gosec // E.g., "https://my-dremio-catalog.data-platform.stackit.run/iceberg"
1717 dremioTokenEndpoint := "DREMIO_TOKEN_ENDPOINT" //nolint:gosec // E.g., "https://my-dremio.data-platform.stackit.run/oauth/token"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
1212
1313func main () {
1414 projectId := "PROJECT_ID" // the uuid of your STACKIT project
15- region := string ( kms . LISTKEYRINGSREGIONIDPARAMETER_EU01 )
15+ region := "eu01"
1616
1717 // Create a new API client, that uses default authentication and configuration
1818 kmsClient , err := kms .NewAPIClient ()
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ func main() {
1212 ctx := context .Background ()
1313
1414 projectId := "PROJECT_ID" // the uuid of your STACKIT project
15- regionId := string ( logs . LISTLOGSINSTANCESREGIONIDPARAMETER_EU01 )
15+ regionId := "eu01"
1616
1717 client , err := logs .NewAPIClient ()
1818 if err != nil {
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ func main() {
1515 organizationId := "ORGANIZATION_ID" // the uuid of your STACKIT organization
1616 folderId := "FOLDER_ID" // the uuid of your STACKIT folder
1717 projectId := "PROJECT_ID" // the uuid of your STACKIT project
18- regionId := string ( telemetrylink . GETFOLDERTELEMETRYLINKREGIONIDPARAMETER_EU01 )
18+ regionId := "eu01"
1919 telemetryRouterId := "TELEMETRY_ROUTER_ID" // the uuid of your STACKIT TelemetryRouter
2020 telemetryRouterAccessToken := "TELEMETRY_ROUTER_ACCESS_TOKEN" // the access token of your TelemetryRouter
2121
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ func main() {
1313 ctx := context .Background ()
1414
1515 projectId := "PROJECT_ID" // the uuid of your STACKIT project
16- regionId := string ( telemetryrouter . LISTTELEMETRYROUTERSREGIONIDPARAMETER_EU01 )
16+ regionId := "eu01"
1717
1818 client , err := telemetryrouter .NewAPIClient ()
1919 if err != nil {
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ func newAPIMock(settings *mockSettings) intake.DefaultAPI {
6666 }
6767}
6868
69- const regionId = string ( intake . LISTINTAKERUNNERSREGIONIDPARAMETER_EU01 )
69+ const regionId = "eu01"
7070
7171var (
7272 projectId = uuid .NewString ()
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import (
1717)
1818
1919const (
20- testRegion = string ( kms . LISTKEYRINGSREGIONIDPARAMETER_EU01 )
20+ testRegion = "eu01"
2121 testPublicKey = "i am an invalid public key"
2222)
2323
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ func newAPIMock(settings mockSettings) logs.DefaultAPI {
4141var projectId = uuid .NewString ()
4242var instanceId = uuid .NewString ()
4343
44- const region = string ( logs . LISTLOGSINSTANCESREGIONIDPARAMETER_EU01 )
44+ const region = "eu01"
4545
4646func TestCreateLogsInstanceWaitHandler (t * testing.T ) {
4747 tests := []struct {
You can’t perform that action at this time.
0 commit comments