bff3f150b8
This commit adds the CloudFormation files for the current OpenStack AWS OpenSearch cluster, and the associated Logstash servers and load balancer. Change-Id: I4ff2aecb668279f8aabb8d72ffd6f4a2c960ed89
33 lines
811 B
YAML
33 lines
811 B
YAML
AWSTemplateFormatVersion: "2010-09-09"
|
|
|
|
Description: ECR repo for Logstash containers
|
|
|
|
Resources:
|
|
|
|
LogstashECRRepo:
|
|
Type: AWS::ECR::Repository
|
|
Properties:
|
|
RepositoryName: "openstack-logstash-repository"
|
|
|
|
OpenSearchAdminCredentialsSecret:
|
|
Type: AWS::SecretsManager::Secret
|
|
Properties:
|
|
Description: 'Password for admin account in OpenSearch'
|
|
GenerateSecretString:
|
|
SecretStringTemplate: '{"username": "admin"}'
|
|
GenerateStringKey: 'password'
|
|
PasswordLength: 32
|
|
ExcludeCharacters: '"@/\'
|
|
|
|
Outputs:
|
|
|
|
LogstashECRRepoArn:
|
|
Value: !GetAtt LogstashECRRepo.Arn
|
|
Export:
|
|
Name: LogstashECRRepoArn
|
|
|
|
OpenSearchAdminCredentialsSecret:
|
|
Value: !Ref OpenSearchAdminCredentialsSecret
|
|
Export:
|
|
Name: OpenSearchAdminCredentialsSecret
|