Skip to content
Closed

Aws #601

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
c732052
Add AWSConfig class for AWS source configuration
ekrichbaum Oct 23, 2026
5c60826
Implement AWSHandler class for AWS integration
ekrichbaum Oct 23, 2026
b749027
Add AWS requirements to requirements-aws.txt
ekrichbaum Oct 23, 2026
ac73426
Implement tests for AWS source functionality
ekrichbaum Oct 23, 2026
c3cbc12
Add documentation for AWS EC2 source integration
ekrichbaum Oct 23, 2026
6822107
Implement AWSClient for AWS service discovery
ekrichbaum Oct 23, 2026
0a4793d
Add AWSConfig import to file_output.py
ekrichbaum Oct 23, 2026
02568b4
Add optional AWS dependency to pyproject.toml
ekrichbaum Oct 23, 2026
d47b999
Add AWS example configuration to settings-example.ini
ekrichbaum Oct 23, 2026
9ad88ae
Add custom_fields to object_classes
ekrichbaum Oct 23, 2026
f782ed8
Add optional AWS dependency installation in Dockerfile
ekrichbaum Oct 23, 2026
0c853a1
Update README with AWS source type details
ekrichbaum Oct 23, 2026
96e77be
Add AWSHandler to valid sources list
ekrichbaum Oct 23, 2026
1983cb0
Fix typo in valid_sources list
ekrichbaum Oct 23, 2026
0e1bb7a
Enhance configuration file output and validation logic
ekrichbaum Oct 23, 2026
c033df7
boto3 and AWS extra declaration
ekrichbaum Oct 23, 2026
71d336b
Fix formatting in test workflow file
ekrichbaum Oct 23, 2026
3aab4c1
Fix formatting of inventory files link in README
ekrichbaum Oct 23, 2026
2581957
Refactor source handlers and validation logic
ekrichbaum Oct 23, 2026
aecddd3
Add AWSConfig to source_config_list
ekrichbaum Oct 23, 2026
aa6c962
AWS adjustments for boto3
ekrichbaum Oct 23, 2026
0653318
Update test workflow for AWS branch and requirements
ekrichbaum Oct 23, 2026
a577201
Refactor AWSClient for organization discovery
ekrichbaum Oct 24, 2026
8403e2b
Refactor AWS config options and validation logic
ekrichbaum Oct 24, 2026
3b8b50f
Refactor AWS connection methods for organization support
ekrichbaum Oct 24, 2026
cefdf42
Enhance AWS source documentation for regions and accounts
ekrichbaum Oct 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Test

on:
push:
branches: [ "main", "development" ]
branches: [ "main", "development", "AWS" ]
pull_request:
branches: [ "main", "development" ]
workflow_dispatch:
Expand Down Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-aws.txt
pip install pytest

- name: Install vcsim
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
FROM python:3.14-slim AS builder

COPY requirements.txt .
COPY requirements-aws.txt .

ARG VENV=/opt/netbox-sync/venv
ARG INSTALL_AWS=false

# Install dependencies
RUN python3 -m venv $VENV && \
$VENV/bin/python3 -m pip install --upgrade pip && \
$VENV/bin/pip install -r requirements.txt && \
if [ "$INSTALL_AWS" = "true" ]; then $VENV/bin/pip install -r requirements-aws.txt; fi && \
$VENV/bin/pip install vmware-vcenter==9.1.1.0 && \
$VENV/bin/python3 -m pip uninstall -y pip && \
find $VENV -type d -name "__pycache__" -print0 | xargs -0 -n1 rm -rf
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This is a tool to sync data from different sources to a NetBox instance.

Available source types:
* VMware vCenter Server
* AWS EC2, EBS, and network interfaces (see [AWS source](docs/source_aws.md))
* [bb-ricardo/check_redfish](https://github.com/bb-Ricardo/check_redfish) inventory files

**IMPORTANT: READ INSTRUCTIONS CAREFULLY BEFORE RUNNING THIS PROGRAM**
Expand Down Expand Up @@ -38,6 +39,9 @@ This ensures stale objects are removed from NetBox keeping an accurate current s
* VMWare vCenter >= 6.0
#### Source: check_redfish (if used)
* check_redfish >= 1.2.0
#### Source: AWS (if used)
* Optional boto3 SDK, AWS read-only credentials, and explicit regions
* Existing VPC-specific NetBox VRFs for IP import; see [AWS setup](docs/source_aws.md)

# Installing
* here we assume we install in ```/opt```
Expand Down
Loading