-
Notifications
You must be signed in to change notification settings - Fork 31
Revise Dcmission 4356 #248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,49 @@ | ||
output "cf_landscape_label" { | ||
value = btp_subaccount_environment_instance.cloudfoundry.landscape_label | ||
output "subaccount_id" { | ||
value = data.btp_subaccount.dc_mission.id | ||
description = "The ID of the subaccount." | ||
} | ||
|
||
output "cf_api_url" { | ||
value = jsondecode(btp_subaccount_environment_instance.cloudfoundry.labels)["API Endpoint"] | ||
value = jsondecode(btp_subaccount_environment_instance.cloudfoundry.labels)["API Endpoint"] | ||
description = "The Cloudfoundry API endpoint." | ||
} | ||
|
||
output "cf_landscape_label" { | ||
value = terraform_data.replacement.output | ||
description = "The Cloudfoundry landscape label." | ||
} | ||
|
||
output "cf_org_id" { | ||
value = btp_subaccount_environment_instance.cloudfoundry.platform_id | ||
value = jsondecode(btp_subaccount_environment_instance.cloudfoundry.labels)["Org ID"] | ||
description = "The Cloudfoundry org id." | ||
} | ||
|
||
output "subaccount_id" { | ||
value = data.btp_subaccount.project.id | ||
} | ||
output "cf_org_name" { | ||
value = jsondecode(btp_subaccount_environment_instance.cloudfoundry.labels)["Org Name"] | ||
description = "The Cloudfoundry org name." | ||
} | ||
|
||
output "cf_space_name" { | ||
value = var.cf_space_name | ||
description = "The name of the Cloud Foundry space." | ||
} | ||
|
||
output "cf_org_admins" { | ||
value = var.cf_org_admins | ||
description = "List of users to set as Cloudfoundry org administrators." | ||
} | ||
|
||
output "cf_space_developers" { | ||
value = var.cf_space_developers | ||
description = "List of users to set as Cloudfoundry space developers." | ||
} | ||
|
||
output "cf_space_managers" { | ||
value = var.cf_space_managers | ||
description = "List of users to set as Cloudfoundry space managers." | ||
} | ||
|
||
output "origin" { | ||
value = var.origin | ||
description = "The identity provider for the UAA user." | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
terraform { | ||
required_providers { | ||
btp = { | ||
source = "SAP/btp" | ||
source = "sap/btp" | ||
version = "1.4.0" | ||
} | ||
} | ||
|
20 changes: 20 additions & 0 deletions
20
released/discovery_center/mission_4356/step1/sample.tfvars
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# ------------------------------------------------------------------------------------------------------ | ||
# Provider configuration | ||
# ------------------------------------------------------------------------------------------------------ | ||
# Your global account subdomain | ||
globalaccount = "yourglobalaccount" | ||
region = "us10" | ||
subaccount_name = "SAP Discovery Center Mission 4356" | ||
|
||
# ------------------------------------------------------------------------------------------------------ | ||
# Project specific configuration (please adapt!) | ||
# ------------------------------------------------------------------------------------------------------ | ||
|
||
subaccount_admins = ["another.user@test.com"] | ||
subaccount_service_admins = ["another.user@test.com"] | ||
cf_org_admins = ["another.user@test.com"] | ||
cf_org_users = ["another.user@test.com"] | ||
cf_space_managers = ["another.user@test.com", "you@test.com"] | ||
cf_space_developers = ["another.user@test.com", "you@test.com"] | ||
|
||
custom_idp = "sap.ids" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.