diff --git a/web/packages/teleport/src/Discover/Shared/AwsAccount/AwsAccount.tsx b/web/packages/teleport/src/Discover/Shared/AwsAccount/AwsAccount.tsx index 388c52cc3a0bf..7f79de95cb989 100644 --- a/web/packages/teleport/src/Discover/Shared/AwsAccount/AwsAccount.tsx +++ b/web/packages/teleport/src/Discover/Shared/AwsAccount/AwsAccount.tsx @@ -73,7 +73,10 @@ export function AwsAccount() { let roleTemplate = integrationRWE; let hasAccess = - integrationAccess.create && integrationAccess.list && integrationAccess.use; + integrationAccess.create && + integrationAccess.list && + integrationAccess.use && + integrationAccess.read; // Ensure required permissions based on which flow this is in. if (viewConfig.kind === ResourceKind.Database) { diff --git a/web/packages/teleport/src/Discover/yamlTemplates/integrationRWE.yaml b/web/packages/teleport/src/Discover/yamlTemplates/integrationRWE.yaml index 7c99f58c66659..a05c5b129cb5a 100644 --- a/web/packages/teleport/src/Discover/yamlTemplates/integrationRWE.yaml +++ b/web/packages/teleport/src/Discover/yamlTemplates/integrationRWE.yaml @@ -7,4 +7,5 @@ spec: verbs: - list - create - - use \ No newline at end of file + - use + - read diff --git a/web/packages/teleport/src/Discover/yamlTemplates/integrationRWEAndDbCU.yaml b/web/packages/teleport/src/Discover/yamlTemplates/integrationRWEAndDbCU.yaml index 61e643f3ae6cd..056954cccb2c9 100644 --- a/web/packages/teleport/src/Discover/yamlTemplates/integrationRWEAndDbCU.yaml +++ b/web/packages/teleport/src/Discover/yamlTemplates/integrationRWEAndDbCU.yaml @@ -8,6 +8,7 @@ spec: - list - create - use + - read - resources: - db verbs: diff --git a/web/packages/teleport/src/Discover/yamlTemplates/integrationRWEAndNodeRWE.yaml b/web/packages/teleport/src/Discover/yamlTemplates/integrationRWEAndNodeRWE.yaml index 376923730e645..62fbed76266bc 100644 --- a/web/packages/teleport/src/Discover/yamlTemplates/integrationRWEAndNodeRWE.yaml +++ b/web/packages/teleport/src/Discover/yamlTemplates/integrationRWEAndNodeRWE.yaml @@ -8,6 +8,7 @@ spec: - list - create - use + - read - resources: - node verbs: