Skip to content

Fix option names - #110

Open
alinabuzachis wants to merge 32 commits into
ansible-collections:mainfrom
alinabuzachis:fix_option_names
Open

Fix option names#110
alinabuzachis wants to merge 32 commits into
ansible-collections:mainfrom
alinabuzachis:fix_option_names

Use amazon.cloud.iam_role instead of community.aws.iam_role to avoid …

92b6d78
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed May 29, 2026 in 32s

Quality Gate failed

Failed conditions
3 Security Hotspots
5.1% Duplication on New Code (required ≤ 3%)
C Reliability Rating on New Code (required ≥ A)
B Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 52 in tools/update_constants.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this code to not log user-controlled data.

See more on https://sonarcloud.io/project/issues?id=ansible-collections_amazon.cloud&issues=AZ5zGpYmKmlfU-sGU1mh&open=AZ5zGpYmKmlfU-sGU1mh&pullRequest=110

Check failure on line 210 in plugins/module_utils/utils.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 21 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=ansible-collections_amazon.cloud&issues=AZ5zGpWLKmlfU-sGU1ma&open=AZ5zGpWLKmlfU-sGU1ma&pullRequest=110

Check failure on line 338 in plugins/module_utils/utils.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 69 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=ansible-collections_amazon.cloud&issues=AZ5zGpWLKmlfU-sGU1mc&open=AZ5zGpWLKmlfU-sGU1mc&pullRequest=110

Check warning on line 442 in plugins/module_utils/utils.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this redundant call.

See more on https://sonarcloud.io/project/issues?id=ansible-collections_amazon.cloud&issues=AZ5zGpWLKmlfU-sGU1mf&open=AZ5zGpWLKmlfU-sGU1mf&pullRequest=110

Check warning on line 543 in plugins/module_utils/core.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return a value of type "dict" instead of "str" or update function "get_identifier" type hint.

See more on https://sonarcloud.io/project/issues?id=ansible-collections_amazon.cloud&issues=AZ5zGpYUKmlfU-sGU1mg&open=AZ5zGpYUKmlfU-sGU1mg&pullRequest=110

Check failure on line 387 in plugins/module_utils/utils.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 43 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=ansible-collections_amazon.cloud&issues=AZ5zGpWLKmlfU-sGU1md&open=AZ5zGpWLKmlfU-sGU1md&pullRequest=110

Check warning on line 305 in plugins/module_utils/utils.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this redundant Exception class; it derives from another which is already caught.

See more on https://sonarcloud.io/project/issues?id=ansible-collections_amazon.cloud&issues=AZ5zGpWLKmlfU-sGU1mb&open=AZ5zGpWLKmlfU-sGU1mb&pullRequest=110

Check warning on line 530 in tests/unit/module_utils/test_utils.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove or refactor this statement; it has no side effects.

See more on https://sonarcloud.io/project/issues?id=ansible-collections_amazon.cloud&issues=AZ5zGpclKmlfU-sGU1ml&open=AZ5zGpclKmlfU-sGU1ml&pullRequest=110

Check warning on line 420 in plugins/module_utils/utils.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this redundant call.

See more on https://sonarcloud.io/project/issues?id=ansible-collections_amazon.cloud&issues=AZ5zGpWLKmlfU-sGU1me&open=AZ5zGpWLKmlfU-sGU1me&pullRequest=110