Skip to content

Consume external role ARN in Neptune Analytics system test#69682

Open
seanghaeli wants to merge 2 commits into
apache:mainfrom
aws-mwaa:neptune-analytics-external-import-role
Open

Consume external role ARN in Neptune Analytics system test#69682
seanghaeli wants to merge 2 commits into
apache:mainfrom
aws-mwaa:neptune-analytics-external-import-role

Conversation

@seanghaeli

@seanghaeli seanghaeli commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Updating Neptune Analytics system test to import role from AWS test harness

@boring-cyborg boring-cyborg Bot added area:providers provider:amazon AWS/Amazon - related issues labels Jul 10, 2026
The example_neptune_analytics system test previously created and deleted
its own IAM role (create_neptune_import_role / delete_neptune_import_role)
for Neptune Analytics to assume when reading the import data from S3.

Per review feedback, system tests should not create IAM roles. The role is
now provisioned externally (in the system-test infrastructure / CDK) and
its ARN is fetched via SystemTestContextBuilder().add_variable(
"NEPTUNE_IMPORT_ROLE_ARN") and passed to the NeptuneStartImportTaskOperator
and NeptuneCreateGraphWithImportOperator. This removes the role-creation
tasks, the associated trust/inline policy JSON, and the 60s IAM
consistency sleep.
@seanghaeli seanghaeli force-pushed the neptune-analytics-external-import-role branch from 346e2f8 to 0ddc10c Compare July 10, 2026 00:14
@seanghaeli seanghaeli marked this pull request as ready for review July 10, 2026 20:07
@seanghaeli seanghaeli requested a review from o-nikolas as a code owner July 10, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants