From 3f2a17f59c29aa993aeff282b105b0b829ea341d Mon Sep 17 00:00:00 2001 From: Dharini Jeeva Date: Tue, 20 Sep 2022 13:23:29 -0700 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20update=20host=20catalog?= =?UTF-8?q?=20ui=20(#1342)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: 🤖 update host catalog/hosts/host-set azure texts --- addons/core/translations/form/en-us.yaml | 8 +++----- addons/core/translations/resources/en-us.yaml | 7 +++++-- ui/admin/app/components/form/host-catalog/aws/index.hbs | 5 ++++- ui/admin/config/environment.js | 1 + 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/addons/core/translations/form/en-us.yaml b/addons/core/translations/form/en-us.yaml index 64236bfab..59e492d0d 100644 --- a/addons/core/translations/form/en-us.yaml +++ b/addons/core/translations/form/en-us.yaml @@ -141,15 +141,13 @@ subscription_id: help: The subscription ID for the subscription with read access. access_key_id: label: Access Key ID - help: The access key ID found on the Security Credentials page in AWS. + help: The access key ID generated by AWS for the IAM user to use with this host catalog. secret_access_key: label: Secret Access Key - help: The secret access key found on the Security Credentials page in AWS. -region: - label: Region + help: The secret access key generated by AWS for the IAM user to use with this host catalog. secret: label: Client Secret Value - help: The client secret value for the client you want Boundary to use. + help: The client secret value generated by Azure for Boundary to use for authentication. disable_credential_rotation: label: Disable credential rotation dns_names: diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index e384dcbaa..97dde483e 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -94,9 +94,12 @@ host-catalog: azure: Azure dynamic: Dynamic form: + aws_region: + label: AWS Region + help: AWS region of the hosts to be added to the catalog. azure_client_id: label: Client/Application ID - help: The client (application) ID for the client you want Boundary to use. + help: The client (application) ID of an Azure service principal that Boundary will use to authenticate and discover hosts from Azure. host-set: title: Host Set title_plural: Host Sets @@ -116,7 +119,7 @@ host-set: help: Create a filter to select resources using values such as tag name or tag value. The Azure filter format is:tagName eq ‘’ and tagValue eq ‘'. For example:tagName eq 'application' and tagValue eq 'production' preferred_endpoints: label: Preferred Endpoints - help: Optional. Selects addresses of hosts, in cidr: or dns: format + help: Optional. Preferred address at which the host should be accessed when multiple options are present, in cidr: or dns: format. messages: welcome: title: Welcome to Host Sets diff --git a/ui/admin/app/components/form/host-catalog/aws/index.hbs b/ui/admin/app/components/form/host-catalog/aws/index.hbs index 8839f3029..8c58dbecc 100644 --- a/ui/admin/app/components/form/host-catalog/aws/index.hbs +++ b/ui/admin/app/components/form/host-catalog/aws/index.hbs @@ -127,7 +127,10 @@ @name='region' @type='region' @value={{@model.region}} - @label={{t 'form.region.label'}} + @label={{t 'resources.host-catalog.form.aws_region.label'}} + @helperText={{t 'resources.host-catalog.form.aws_region.help'}} + @linkText={{t 'actions.learn-more'}} + @link={{doc-url 'host-catalog.aws.region'}} readonly={{false}} /> diff --git a/ui/admin/config/environment.js b/ui/admin/config/environment.js index 37bc5386d..f975624f1 100644 --- a/ui/admin/config/environment.js +++ b/ui/admin/config/environment.js @@ -76,6 +76,7 @@ module.exports = function (environment) { 'host-catalog.new': '/host-catalogs/new', 'host-catalog.azure': '/dynamic-host-catalogs-on-azure', 'host-catalog.aws': '/dynamic-host-catalogs-on-aws', + 'host-catalog.aws.region': '/dynamic-host-catalogs-on-aws-region', 'host-set': '/host-sets', 'host-set.new': '/host-sets/new', 'host-set.add-hosts': '/host-sets/add-hosts',