Skip to content

Consume external role ARN in Neptune Analytics system test#69682

Merged
ferruzzi merged 1 commit into
apache:mainfrom
aws-mwaa:neptune-analytics-external-import-role
Jul 10, 2026
Merged

Consume external role ARN in Neptune Analytics system test#69682
ferruzzi merged 1 commit 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
@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
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 01e9743 to c6144cf Compare July 10, 2026 20:52
@ferruzzi ferruzzi merged commit 304708c into apache:main Jul 10, 2026
83 checks passed
@ferruzzi ferruzzi deleted the neptune-analytics-external-import-role branch July 10, 2026 21:36
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.

3 participants