Skip to content

Check for Elastic Cloud Server (ECS) snapshot age on Open Telekom Cloud (OTC)

Notifications You must be signed in to change notification settings

BenjaminBoehm/check-ecs-snapshots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Check for Elastic Cloud Server (ECS) snapshot age on Open Telekom Cloud (OTC)

Environment

  • Option 1: clouds.yaml

    • create config file (~/.config/openstack/clouds.yaml or /etc/openstack/clouds.yaml)
      ---
      clouds:
        myCloud:
          auth:
            username: '<USERNAME>'
            password: '<PASSWORD>'
            project_name: 'eu-de'
            user_domain_name: '<DOMAIN_NAME>'
            auth_url: 'https://iam.eu-de.otc.t-systems.com/v3'
          interface: 'public'
          identity_api_version: 3 # !Important
    • set env which cloud credentials should be used
      export OS_CLOUD=myCloud
  • Option 2: Environment Variables

    export OS_PROJECT_NANME=eu-de
    export OS_AUTH_URL="https://iam.eu-de.otc.t-systems.com:443/v3"
    export OS_USER_DOMAIN_NAME="<DOMAIN_NAME>"
    export OS_USERNAME="<USERNAME>"
    export OS_PASSWORD="<PASSWORD>"

Run

go run cmd/main.go

Build

make build

Dependencies

About

Check for Elastic Cloud Server (ECS) snapshot age on Open Telekom Cloud (OTC)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published