-
Notifications
You must be signed in to change notification settings - Fork 1
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
Api gateway config #25
base: demo
Are you sure you want to change the base?
Conversation
…se Native Terraform resources
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lots of small fixes needed, added suggestions you can apply,
bulk-scanning.tf
Outdated
module "ccpay-bulkscanning-product" { | ||
source = "[email protected]:hmcts/cnp-module-api-mgmt-product?ref=master" | ||
|
||
api_mgmt_name = "core-api-mgmt-demodata" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
api_mgmt_name = "core-api-mgmt-demodata" | |
api_mgmt_name = "core-api-mgmt-${var.env}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
bulk-scanning.tf
Outdated
source = "[email protected]:hmcts/cnp-module-api-mgmt-product?ref=master" | ||
|
||
api_mgmt_name = "core-api-mgmt-demodata" | ||
api_mgmt_rg = "core-infra-demodata-rg" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
api_mgmt_rg = "core-infra-demodata-rg" | |
api_mgmt_rg = "core-infra-${var.env}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
bulk-scanning.tf
Outdated
module "ccpay-bulkscanning-api" { | ||
source = "[email protected]:hmcts/cnp-module-api-mgmt-api?ref=master" | ||
|
||
api_mgmt_name = "core-api-mgmt-demodata" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
api_mgmt_name = "core-api-mgmt-demodata" | |
api_mgmt_name = "core-api-mgmt-${var.env}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
bulk-scanning.tf
Outdated
source = "[email protected]:hmcts/cnp-module-api-mgmt-api?ref=master" | ||
|
||
api_mgmt_name = "core-api-mgmt-demodata" | ||
api_mgmt_rg = "core-infra-demodata-rg" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
api_mgmt_rg = "core-infra-demodata-rg" | |
api_mgmt_rg = "core-infra-${var.env}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
bulk-scanning.tf
Outdated
source = "[email protected]:hmcts/cnp-module-api-mgmt-api-policy?ref=master" | ||
|
||
api_mgmt_name = "core-api-mgmt-demodata" | ||
api_mgmt_rg = "core-infra-demodata-rg" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
api_mgmt_rg = "core-infra-demodata-rg" | |
api_mgmt_rg = "core-infra-${var.env}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
variables.tf
Outdated
variable payments_test_certificate_thumbprints { | ||
type = "list" | ||
# TODO: remove default and provide environment-specific values | ||
default = [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default = [] |
variables.tf
Outdated
# thumbprint of the SSL certificate for API gateway Telephony | ||
variable payments_test_certificate_thumbprints { | ||
type = "list" | ||
# TODO: remove default and provide environment-specific values |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# TODO: remove default and provide environment-specific values |
variables.tf
Outdated
# thumbprint of the SSL certificate for API gateway Payments API | ||
variable telephony_api_gateway_certificate_thumbprints { | ||
type = "list" | ||
# TODO: remove default and provide environment-specific values |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# TODO: remove default and provide environment-specific values |
variables.tf
Outdated
} | ||
|
||
# thumbprint of the SSL certificate for API gateway Payments API | ||
variable bulkscanning_api_gateway_certificate_thumbprints { | ||
type = "list" | ||
# TODO: remove default and provide environment-specific values | ||
default = [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default = [] |
variables.tf
Outdated
} | ||
|
||
# thumbprint of the SSL certificate for API gateway Payments API | ||
variable bulkscanning_api_gateway_certificate_thumbprints { | ||
type = "list" | ||
# TODO: remove default and provide environment-specific values |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# TODO: remove default and provide environment-specific values |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lots of small fixes needed, added suggestions you can apply,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this PR still relevant?
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/PAY-2550
https://tools.hmcts.net/jira/browse/PAY-2449
Change description
Moving all api configuration for fee & pay team into https://github.com/hmcts/ccpay-payment-api-gateway
Reconfiguring api gateway configuration using native terraform resources
Does this PR introduce a breaking change? (check one with "x")