Skip to content

Commit

Permalink
Merge pull request #14 from shoudusse/add-certificates-outputs
Browse files Browse the repository at this point in the history
Add outputs to retrieve certificates
  • Loading branch information
shoudusse authored Oct 17, 2022
2 parents 8ae2714 + 51fdb2b commit 40440bb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ jobs:
tf_actions_subcommand: 'validate'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OS_REGION_NAME: eu-west-0
OS_AUTH_URL: OS_AUTH_URL='https://iam.eu-west-0.prod-cloud-ocb.orange-business.com/v3'
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,3 +289,5 @@ inputs = {
| cluster\_id | ID of the Cluster created |
| nodes\_ip | List of nodes IP adresses |
| nodes\_list | List of nodes |
| cce\_certificate\_clusters | Cluster certificate data and keys |
| cce\_certificate\_users | User certificate data and keys |
8 changes: 8 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,11 @@ output "nodes_ip" {
value = [for node in flexibleengine_cce_node_v3.cce_cluster_node : node.private_ip]
}

output "cce_certificate_clusters" {
value = flexibleengine_cce_cluster_v3.cce_cluster.certificate_clusters
description = "CCE cluster certificate"
}
output "cce_certificate_users" {
value = flexibleengine_cce_cluster_v3.cce_cluster.certificate_users
description = "CCE user certificate"
}

0 comments on commit 40440bb

Please sign in to comment.