Skip to content
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

[Feature] Multi-partition support for AMIUpdater (update-ami) #666

Open
andrew-glenn opened this issue Jun 25, 2021 · 1 comment
Open

[Feature] Multi-partition support for AMIUpdater (update-ami) #666

andrew-glenn opened this issue Jun 25, 2021 · 1 comment

Comments

@andrew-glenn
Copy link
Contributor

The current taskcat update-ami config format is not partition aware. The proposal is to revamp the config to be partition-aware.

Current:

RHELHA83HVM:
  name: RHEL_HA-8.3_HVM-????????-x86_64-?-Hourly2-GP2
  owner-id: '309956199498'

Proposed:

RHELHA83HVM:
  name: RHEL_HA-8.3_HVM-????????-x86_64-?-Hourly2-GP2
  partition:
    aws: 
      owner-id: '309956199498'
    aws-cn:
      owner-id: '0123456789012'
    aws-us-gov:
      owner-id: '0123456789013'

If owner-id found in <mapping>.keys(), the default partition is aws, for backwards compatibility.

/cc @davdunc for commentary, as his use-case/team buy-in is critical

@andrew-glenn
Copy link
Contributor Author

Thought: May need to account for situations where AMI wildcards are not consistent across partitions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant