Git Product home page Git Product logo

terraform-hsdp-dicom's Introduction

HSDP DICOM Store module

Requirements

Name Version
hsdp >= 0.16.1
Terraform >= v0.15.1

Providers

Name Version
hsdp >= 0.16.1

Modules

No Modules.

Resources

Name
hsdp_dicom_object_store
hsdp_dicom_repository
hsdp_dicom_store_config
hsdp_iam_application
hsdp_iam_group
hsdp_iam_proposition
hsdp_iam_role
hsdp_iam_service
hsdp_iam_user
hsdp_s3creds_policy

Inputs

Name Description Type Default Required
environment Environment details. Possible values dev, client-test, prod string yes
region DICOM Store deployed region. Possible values us-east-1, eu-west-1 string yes
cdr_base_url CDR Base URL which is provided for DICOM Store onboarding (E.g: https://cdr-example.us-east.philips-healthsuite.com) string n/a yes
dss_config_url DICOM Store config URL (Should have received from Onboarding Request ticket Response) string n/a yes
service_ids Service IDs that should have write access to the DICOM Store list(string) [] no
oauth2_client_id IAM OAuth Client Id string yes
oauth2_password IAM OAuth secret/password string yes
org_admin_username IAM Organization admin username. e.g. [email protected] string yes
org_admin_password IAM Organization admin password. string yes
managing_root_definition Managing root configuration
object({
organization_id = string
admin_users = list(string)
dicom_users = optional(list(string))
s3creds_bucket_name = optional(string)
s3creds_product_key = optional(string)
force_delete_object_store = optional(bool)
use_default_object_store_for_all_orgs = optional(bool)
repository_organization_id = optional(string)
shared_cdr_service_account_id = optional(string)
mpi_endpoint = optional(string)
})
null no
tenant_definitions List of tenant configurations
list(object({
managing_root_organization_id = string
tenant_organization_id = string
admin_users = list(string)
dicom_users = optional(list(string))
s3creds_bucket_name = optional(string)
s3creds_product_key = optional(string)
force_delete_object_store = optional(bool)
repository_organization_id = optional(string)
purge_cdr_data = optional(bool)
}))
[] no

Outputs

No outputs

Contact / Getting help

Post your questions on the #terraform HSDP Slack channel

License

License is MIT

terraform-hsdp-dicom's People

Contributors

khhipparagi avatar loafoe avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

terraform-hsdp-dicom's Issues

Typos in the terraform script

In the modules/shared/main.tf:

  • on line 7: resource "hsdp_iam_application" "app_diom" -> It should be "app_dicom"
  • on line 107: application_id = hsdp_iam_application.app_diom.id -> It should be "app_dicom"
  • on line 173: name = "Manaing Org - ${var.organization_id}" -> It should be "Managing Org"

In the modules/tenant/main.tf:

  • on line 7: resource "hsdp_iam_application" "app_diom" -> It should be "app_dicom"
  • on line 85: application_id = hsdp_iam_application.app_diom.id -> It should be "app_dicom"

CDR Onboarding fails when terraform applied again

CDR Onboarding fails when terraform applied second time. This could be happening due to token. The required permissions been added in the previous step, but when CDR call is done, token is not fetched again.

terraform.log

Error: PUT : StatusCode 403: non http 20x CDR response

│ with module.dicom.module.tenant[1].hsdp_cdr_org.tenant_onboard,
│ on C:\git\terraform\develop\terraform-hsdp-dicom\modules\tenant\main.tf line 138, in resource "hsdp_cdr_org" "tenant_onboard":
│ 138: resource "hsdp_cdr_org" "tenant_onboard" {



│ Error: PUT : StatusCode 403: non http 20x CDR response

│ with module.dicom.module.tenant[0].hsdp_cdr_org.tenant_onboard,
│ on C:\git\terraform\develop\terraform-hsdp-dicom\modules\tenant\main.tf line 138, in resource "hsdp_cdr_org" "tenant_onboard":
│ 138: resource "hsdp_cdr_org" "tenant_onboard" {

Workaround: Just run terraform apply again, which will succeed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.