Skip to content

Refactor AWS discovery into a separate role#15

Open
mhjacks wants to merge 2 commits into
day0hero:mainfrom
mhjacks:refactor_aws_discovery
Open

Refactor AWS discovery into a separate role#15
mhjacks wants to merge 2 commits into
day0hero:mainfrom
mhjacks:refactor_aws_discovery

Conversation

@mhjacks
Copy link
Copy Markdown
Contributor

@mhjacks mhjacks commented Dec 16, 2025

  • Support both install_config/HCP-style AWS clusters
  • Split AWS discovery logic from ontap FSx creation
  • Streamline discovery code (removes options for specifying names/tags to query)
  • Fail when only one subnet is available in multiple-AZ mode (currently the only one supported)
  • Fix ansible-lint errors
  • Remove some makefile options since the Ansible code does its own lookups via kubernetes.core
  • Rename a few variables to pacify linters (especially tags). aws_region is now ocp_aws_region because it is discovered from cluster data.

@mhjacks mhjacks changed the title [WIP] Refactor AWS discovery into a separate role Refactor AWS discovery into a separate role Dec 18, 2025
Martin Jackson added 2 commits December 18, 2025 15:28
# This is the 1st commit message:

New patch with just site.yaml

New patch with cleaner logic

Remove block

Remove duplicative subnet lookup code

# The commit message day0hero#2 will be skipped:

# Discover elements from cluster that we can

# The commit message day0hero#3 will be skipped:

# Add HCP check

# The commit message day0hero#4 will be skipped:

# Generalize VPC query

# The commit message day0hero#5 will be skipped:

# Retrieve VPC id

# The commit message day0hero#6 will be skipped:

# Query subnets

# The commit message day0hero#7 will be skipped:

# Add instance query but don't do it by default

# The commit message day0hero#8 will be skipped:

# Move values-trident to overrides directory

# The commit message day0hero#9 will be skipped:

# Discovering AWS stuff now

# The commit message day0hero#10 will be skipped:

# Fully qualify Ansible collection names; remove duplicate functionality

# The commit message day0hero#11 will be skipped:

# Add dirs to .gitignore
New patch with cleaner logic

Remove block

Remove duplicative subnet lookup code
@mhjacks mhjacks force-pushed the refactor_aws_discovery branch from 6c2369f to 17194bd Compare December 18, 2025 21:29
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

Successfully merging this pull request may close these issues.

1 participant