netherframe.ext.aws 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- netherframe_ext_aws-0.2.0/LICENSE +21 -0
- netherframe_ext_aws-0.2.0/PKG-INFO +37 -0
- netherframe_ext_aws-0.2.0/README.md +25 -0
- netherframe_ext_aws-0.2.0/netherframe/ext/aws/__init__.py +1 -0
- netherframe_ext_aws-0.2.0/netherframe/ext/aws/graph_identity.py +86 -0
- netherframe_ext_aws-0.2.0/netherframe/ext/aws/graph_planning.py +75 -0
- netherframe_ext_aws-0.2.0/netherframe/ext/aws/py.typed +0 -0
- netherframe_ext_aws-0.2.0/netherframe/ext/aws/state_normalization.py +82 -0
- netherframe_ext_aws-0.2.0/nf/ext/aws/__init__.py +4 -0
- netherframe_ext_aws-0.2.0/nf/ext/aws/graph_identity.py +4 -0
- netherframe_ext_aws-0.2.0/nf/ext/aws/graph_planning.py +4 -0
- netherframe_ext_aws-0.2.0/nf/ext/aws/py.typed +0 -0
- netherframe_ext_aws-0.2.0/nf/ext/aws/state_normalization.py +4 -0
- netherframe_ext_aws-0.2.0/pyproject.toml +45 -0
- netherframe_ext_aws-0.2.0/pyproject.toml.orig +37 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Netherframe
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: netherframe.ext.aws
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: AWS provider extensions for Netherframe hybrid execution and graph ownership
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
License-File: LICENSE
|
|
7
|
+
Requires-Dist: netherframe-core>=0.9.0
|
|
8
|
+
Requires-Python: >=3.14
|
|
9
|
+
Project-URL: Homepage, https://netherframe.arsenal.sh
|
|
10
|
+
Project-URL: Repository, https://github.com/arsenal-sh/netherframe
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
|
|
13
|
+
# netherframe.ext.aws
|
|
14
|
+
|
|
15
|
+
AWS-specific extensions for Netherframe hybrid execution, registered through
|
|
16
|
+
entry points so `nf.core` stays provider-neutral. The current qualified provider
|
|
17
|
+
release is **6.73.0**, pinned exactly; other releases require their own review.
|
|
18
|
+
|
|
19
|
+
- `nf.state_normalizers`: adjusts stored `aws_s3_bucket` and
|
|
20
|
+
`aws_iam_role_policy` state so the AWS provider accepts it when deleting.
|
|
21
|
+
- `nf.graph_identities`: establishes canonical graph ownership for SSM parameters,
|
|
22
|
+
CloudWatch log groups and Secrets Manager secrets from the configured provider's
|
|
23
|
+
authenticated account/partition, region and object name. Aliases share ownership
|
|
24
|
+
keys; accounts and regions remain distinct. Replicated secrets and unknown replica
|
|
25
|
+
effects retain app-wide exclusion. Portable locators survive saved plans/recovery.
|
|
26
|
+
- `nf.graph_planning`: qualifies only SSM parameters under the restricted explicit
|
|
27
|
+
static-credential/region profile, with shared-file inputs and tag-policy checks disabled.
|
|
28
|
+
Role assumptions, session credentials, unsupported inputs and write-only values
|
|
29
|
+
remain outside this profile.
|
|
30
|
+
- `nf.state_refresh_representations`: preserves stored SSM `tags=null` when the raw
|
|
31
|
+
provider refresh returns an empty tag map. Nonempty tags and `tags_all` remain raw.
|
|
32
|
+
|
|
33
|
+
Other resource types need explicit contracts before resource-level concurrency or
|
|
34
|
+
planning omission. An import identity schema alone does not prove creation semantics.
|
|
35
|
+
|
|
36
|
+
The source review and PostgreSQL/FakeCloud gate results are recorded in
|
|
37
|
+
[the 6.73.0 qualification record](https://github.com/arsenal-sh/netherframe/blob/HEAD/specs/graph-state/qualification/aws-6.73.0.md).
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# netherframe.ext.aws
|
|
2
|
+
|
|
3
|
+
AWS-specific extensions for Netherframe hybrid execution, registered through
|
|
4
|
+
entry points so `nf.core` stays provider-neutral. The current qualified provider
|
|
5
|
+
release is **6.73.0**, pinned exactly; other releases require their own review.
|
|
6
|
+
|
|
7
|
+
- `nf.state_normalizers`: adjusts stored `aws_s3_bucket` and
|
|
8
|
+
`aws_iam_role_policy` state so the AWS provider accepts it when deleting.
|
|
9
|
+
- `nf.graph_identities`: establishes canonical graph ownership for SSM parameters,
|
|
10
|
+
CloudWatch log groups and Secrets Manager secrets from the configured provider's
|
|
11
|
+
authenticated account/partition, region and object name. Aliases share ownership
|
|
12
|
+
keys; accounts and regions remain distinct. Replicated secrets and unknown replica
|
|
13
|
+
effects retain app-wide exclusion. Portable locators survive saved plans/recovery.
|
|
14
|
+
- `nf.graph_planning`: qualifies only SSM parameters under the restricted explicit
|
|
15
|
+
static-credential/region profile, with shared-file inputs and tag-policy checks disabled.
|
|
16
|
+
Role assumptions, session credentials, unsupported inputs and write-only values
|
|
17
|
+
remain outside this profile.
|
|
18
|
+
- `nf.state_refresh_representations`: preserves stored SSM `tags=null` when the raw
|
|
19
|
+
provider refresh returns an empty tag map. Nonempty tags and `tags_all` remain raw.
|
|
20
|
+
|
|
21
|
+
Other resource types need explicit contracts before resource-level concurrency or
|
|
22
|
+
planning omission. An import identity schema alone does not prove creation semantics.
|
|
23
|
+
|
|
24
|
+
The source review and PostgreSQL/FakeCloud gate results are recorded in
|
|
25
|
+
[the 6.73.0 qualification record](https://github.com/arsenal-sh/netherframe/blob/HEAD/specs/graph-state/qualification/aws-6.73.0.md).
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""AWS provider extensions for Netherframe."""
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"""AWS graph ownership from the configured provider's authenticated identity.
|
|
2
|
+
|
|
3
|
+
Contracts cover SSM parameters, log groups and secrets. The latter two create
|
|
4
|
+
APIs refuse existing names: an unknown provider-generated name can reserve a
|
|
5
|
+
fresh-allocation scope. Replicated secrets retain app-wide exclusion.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from __future__ import annotations
|
|
9
|
+
|
|
10
|
+
from collections.abc import Mapping
|
|
11
|
+
from typing import Any
|
|
12
|
+
|
|
13
|
+
from netherframe.core.backends.graph_identity import IdentityField, ObjectLocator, ObjectScope
|
|
14
|
+
from netherframe.core.exceptions import StateError
|
|
15
|
+
from netherframe.core.providers.graph_identity import IdentityQualification, ProviderIdentityContext, ProviderIdentityContract
|
|
16
|
+
from netherframe.core.serialization.unknown_values import contains_unknown
|
|
17
|
+
|
|
18
|
+
_TYPES = {
|
|
19
|
+
"aws_ssm_parameter": ("ssm", "aws:ssm-parameter:v1", "chosen"),
|
|
20
|
+
"aws_cloudwatch_log_group": ("logs", "aws:cloudwatch-log-group:v1", "allocated"),
|
|
21
|
+
"aws_secretsmanager_secret": ("secretsmanager", "aws:secretsmanager-secret:v1", "allocated"),
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def _account(context: ProviderIdentityContext) -> tuple[str, str]:
|
|
26
|
+
value = context.client.read_data_source("aws_caller_identity", {})
|
|
27
|
+
account = value.get("account_id") if isinstance(value, Mapping) else None
|
|
28
|
+
arn = value.get("arn") if isinstance(value, Mapping) else None
|
|
29
|
+
if not isinstance(account, str) or not account or not isinstance(arn, str) or len(parts := arn.split(":")) < 6 or parts[0] != "arn" or not parts[1] or parts[4] != account:
|
|
30
|
+
raise StateError("The configured AWS provider did not establish its account and partition for graph ownership")
|
|
31
|
+
return account, parts[1]
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def resolve(context: ProviderIdentityContext, resource_type: str, attributes: Mapping[str, Any]) -> ObjectLocator | None:
|
|
35
|
+
if resource_type not in _TYPES:
|
|
36
|
+
return None
|
|
37
|
+
service, key_contract, creation = _TYPES[resource_type]
|
|
38
|
+
region = attributes.get("region")
|
|
39
|
+
if region is None or (isinstance(region, str) and not region):
|
|
40
|
+
region = context.config.get("region")
|
|
41
|
+
if contains_unknown(region):
|
|
42
|
+
return None
|
|
43
|
+
if not isinstance(region, str) or not region:
|
|
44
|
+
raise StateError("The configured AWS provider needs a resolved region for graph ownership")
|
|
45
|
+
account, partition = context.once("aws.account", lambda: _account(context))
|
|
46
|
+
arn = attributes.get("arn")
|
|
47
|
+
if isinstance(arn, str) and arn:
|
|
48
|
+
parts = arn.split(":", 5)
|
|
49
|
+
if len(parts) != 6 or parts[:5] != ["arn", partition, service, region, account]:
|
|
50
|
+
raise StateError(f"The stored {resource_type} ARN belongs to another account, partition or region than its configured provider")
|
|
51
|
+
scope = ObjectScope.of(context.source, account=account, partition=partition, region=region)
|
|
52
|
+
assertions = tuple(IdentityField(key, ("attributes", "arn"), split=(":", index)) for key, index in (("partition", 1), ("region", 3), ("account", 4)))
|
|
53
|
+
# A leading slash is significant for logs/secrets. Only SSM's contract
|
|
54
|
+
# normalizes its optional root slash.
|
|
55
|
+
field = IdentityField("name", ("attributes", "name"), strip_prefix="/" if resource_type == "aws_ssm_parameter" else "")
|
|
56
|
+
return ObjectLocator(scope, resource_type, (field,), creation, key_contract, assertions)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
contract = ProviderIdentityContract(
|
|
60
|
+
"hashicorp/aws",
|
|
61
|
+
resolve,
|
|
62
|
+
qualifications=(
|
|
63
|
+
IdentityQualification(
|
|
64
|
+
"aws_ssm_parameter",
|
|
65
|
+
"aws:ssm-parameter:v1",
|
|
66
|
+
"= 6.73.0",
|
|
67
|
+
("account", "partition", "region"),
|
|
68
|
+
"postgresql:tests/test_graph_hybrid_aws_integration.py;aws:tests/test_graph_identity.py",
|
|
69
|
+
),
|
|
70
|
+
IdentityQualification(
|
|
71
|
+
"aws_cloudwatch_log_group",
|
|
72
|
+
"aws:cloudwatch-log-group:v1",
|
|
73
|
+
"= 6.73.0",
|
|
74
|
+
("account", "partition", "region"),
|
|
75
|
+
"postgresql:tests/test_graph_identity_aws_types_integration.py;aws:tests/test_graph_identity.py",
|
|
76
|
+
),
|
|
77
|
+
IdentityQualification(
|
|
78
|
+
"aws_secretsmanager_secret",
|
|
79
|
+
"aws:secretsmanager-secret:v1",
|
|
80
|
+
"= 6.73.0",
|
|
81
|
+
("account", "partition", "region"),
|
|
82
|
+
"postgresql:tests/test_graph_identity_aws_types_integration.py;aws:tests/test_graph_identity.py",
|
|
83
|
+
serial_attributes=("replica", "force_overwrite_replica_secret"),
|
|
84
|
+
),
|
|
85
|
+
),
|
|
86
|
+
)
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"""Reviewed SSM planning profile for AWS 6.73.0.
|
|
2
|
+
|
|
3
|
+
Explicit static credentials/region, no credential refresh or shared-file inputs,
|
|
4
|
+
and disabled organization tag-policy evaluation. This is deliberately separate
|
|
5
|
+
from the wider AWS physical identity qualifications.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from collections.abc import Mapping
|
|
9
|
+
from pathlib import Path
|
|
10
|
+
import stat
|
|
11
|
+
from typing import Any
|
|
12
|
+
|
|
13
|
+
from netherframe.core.providers.graph_planning import PlanningQualification, ProviderPlanningContract
|
|
14
|
+
from netherframe.core.values.intent import applied_fingerprint
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def observe(environment: Mapping[str, str], config: Mapping[str, Any]) -> str | None:
|
|
18
|
+
if any(not isinstance(config.get(key), str) or not config[key] for key in ("region", "access_key", "secret_key")):
|
|
19
|
+
return None
|
|
20
|
+
if config.get("skip_metadata_api_check") not in (True, "true"):
|
|
21
|
+
return None
|
|
22
|
+
if any(config.get(key) not in (None, "", [], {}) for key in ("profile", "assume_role", "assume_role_with_web_identity", "token", "custom_ca_bundle")):
|
|
23
|
+
return None
|
|
24
|
+
if any(
|
|
25
|
+
environment.get(key)
|
|
26
|
+
for key in (
|
|
27
|
+
"AWS_PROFILE",
|
|
28
|
+
"AWS_DEFAULT_PROFILE",
|
|
29
|
+
"AWS_CONFIG_FILE",
|
|
30
|
+
"AWS_SHARED_CREDENTIALS_FILE",
|
|
31
|
+
"AWS_WEB_IDENTITY_TOKEN_FILE",
|
|
32
|
+
"AWS_ROLE_ARN",
|
|
33
|
+
"AWS_SESSION_TOKEN",
|
|
34
|
+
"AWS_SECURITY_TOKEN",
|
|
35
|
+
"AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE",
|
|
36
|
+
"AWS_CA_BUNDLE",
|
|
37
|
+
"SSL_CERT_FILE",
|
|
38
|
+
"SSL_CERT_DIR",
|
|
39
|
+
)
|
|
40
|
+
):
|
|
41
|
+
return None
|
|
42
|
+
tag_policy = config.get("tag_policy_compliance") or environment.get("TF_AWS_TAG_POLICY_COMPLIANCE") or "disabled"
|
|
43
|
+
if tag_policy != "disabled":
|
|
44
|
+
return None
|
|
45
|
+
# Explicit /dev/null paths disable the SDK's shared-file defaults without
|
|
46
|
+
# changing the user's home or credentials. Absence checks of the default
|
|
47
|
+
# paths cannot rule out a concurrent file change during Configure. Do not
|
|
48
|
+
# read, hash or retain user credential file contents.
|
|
49
|
+
observations = []
|
|
50
|
+
try:
|
|
51
|
+
for option in ("shared_config_files", "shared_credentials_files"):
|
|
52
|
+
configured = config.get(option)
|
|
53
|
+
if not isinstance(configured, (list, tuple)) or list(configured) != ["/dev/null"] or not stat.S_ISCHR(Path("/dev/null").stat().st_mode):
|
|
54
|
+
return None
|
|
55
|
+
observations.append((option, "null-device"))
|
|
56
|
+
except OSError, TypeError:
|
|
57
|
+
return None
|
|
58
|
+
return applied_fingerprint(("aws-static-configuration-v1", observations))
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
contract = ProviderPlanningContract(
|
|
62
|
+
"hashicorp/aws",
|
|
63
|
+
"aws-static-configuration-v1",
|
|
64
|
+
observe,
|
|
65
|
+
(
|
|
66
|
+
PlanningQualification(
|
|
67
|
+
"aws_ssm_parameter",
|
|
68
|
+
"6.73.0",
|
|
69
|
+
"aws-ssm-config-and-prior-state-v1",
|
|
70
|
+
"specs/graph-state/qualification/aws-ssm-planning.md",
|
|
71
|
+
excluded_attributes=("value_wo", "value_wo_version", "has_value_wo"),
|
|
72
|
+
reusable_validation=True,
|
|
73
|
+
),
|
|
74
|
+
),
|
|
75
|
+
)
|
|
File without changes
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"""Make stored AWS state acceptable to the AWS provider before it is sent back.
|
|
2
|
+
|
|
3
|
+
Registered as the ``aws`` entry point in the ``nf.state_normalizers`` group.
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
from __future__ import annotations
|
|
7
|
+
|
|
8
|
+
import logging
|
|
9
|
+
from typing import Any
|
|
10
|
+
|
|
11
|
+
from netherframe.core.providers.state_refresh import RefreshRepresentation
|
|
12
|
+
|
|
13
|
+
logger = logging.getLogger(__name__)
|
|
14
|
+
|
|
15
|
+
# SSM's SDK tag interceptor reads the same service tags after create/update and
|
|
16
|
+
# refresh. An empty user tag map can retain its existing null representation;
|
|
17
|
+
# tags_all (default/ignored tag semantics) and nonempty maps are never rewritten.
|
|
18
|
+
ssm_refresh_representation = RefreshRepresentation(
|
|
19
|
+
"hashicorp/aws", "aws_ssm_parameter", "6.73.0", ("tags",),
|
|
20
|
+
"aws-ssm-empty-user-tags-v1", "specs/graph-state/qualification/aws-ssm-refresh.md",
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
# Nested blocks moved to standalone resources in provider v4+; the provider
|
|
24
|
+
# rejects them in prior state for aws_s3_bucket.
|
|
25
|
+
_S3_BUCKET_LEGACY_BLOCKS = (
|
|
26
|
+
"grant",
|
|
27
|
+
"server_side_encryption_configuration",
|
|
28
|
+
"versioning",
|
|
29
|
+
"lifecycle_rule",
|
|
30
|
+
"cors_rule",
|
|
31
|
+
"replication_configuration",
|
|
32
|
+
"logging",
|
|
33
|
+
"website",
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def normalize_aws_state(resource_type: str, attributes: dict[str, Any]) -> dict[str, Any]:
|
|
38
|
+
"""Return attributes adjusted for the AWS provider."""
|
|
39
|
+
if resource_type == "aws_s3_bucket":
|
|
40
|
+
return _normalize_s3_bucket(attributes)
|
|
41
|
+
if resource_type == "aws_iam_role_policy":
|
|
42
|
+
return _normalize_iam_role_policy(attributes)
|
|
43
|
+
return attributes
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def _normalize_s3_bucket(attributes: dict[str, Any]) -> dict[str, Any]:
|
|
47
|
+
normalized = dict(attributes)
|
|
48
|
+
for field in _S3_BUCKET_LEGACY_BLOCKS:
|
|
49
|
+
normalized.pop(field, None)
|
|
50
|
+
return normalized
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def _normalize_iam_role_policy(attributes: dict[str, Any]) -> dict[str, Any]:
|
|
54
|
+
"""Resolve ``role`` to a plain role name (from the id, role_name or an ARN)."""
|
|
55
|
+
normalized = dict(attributes)
|
|
56
|
+
role_value = normalized.get("role", "")
|
|
57
|
+
if normalized.get("id") and ":" in normalized["id"]:
|
|
58
|
+
parts = normalized["id"].split(":", 1)
|
|
59
|
+
if len(parts) == 2 and parts[0]:
|
|
60
|
+
normalized["role"] = parts[0]
|
|
61
|
+
logger.debug("Extracted role name '%s' from ID for IAM role policy", parts[0])
|
|
62
|
+
else:
|
|
63
|
+
logger.warning("Could not extract role name from ID: %s", normalized.get("id"))
|
|
64
|
+
|
|
65
|
+
role_value = normalized.get("role", "")
|
|
66
|
+
if (not role_value or ("${" in str(role_value) and "}" in str(role_value))) and normalized.get("role_name"):
|
|
67
|
+
normalized["role"] = normalized["role_name"]
|
|
68
|
+
logger.debug("Using role_name field: '%s'", normalized["role_name"])
|
|
69
|
+
|
|
70
|
+
role_value = normalized.get("role", "")
|
|
71
|
+
if isinstance(role_value, str) and role_value.startswith("arn:aws:iam::"):
|
|
72
|
+
normalized["role"] = role_value.split(":role/")[-1]
|
|
73
|
+
logger.debug("Normalized IAM role ARN to name '%s' for role policy", normalized["role"])
|
|
74
|
+
|
|
75
|
+
if not normalized.get("role", ""):
|
|
76
|
+
logger.error(
|
|
77
|
+
"Failed to resolve role name for IAM role policy deletion (id=%s, original role=%s, fields=%s)",
|
|
78
|
+
normalized.get("id"),
|
|
79
|
+
role_value,
|
|
80
|
+
list(normalized),
|
|
81
|
+
)
|
|
82
|
+
return normalized
|
|
File without changes
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
|
|
2
|
+
"""Type-checker view of ``nf.ext.aws.state_normalization``; at runtime it is ``netherframe.ext.aws.state_normalization`` itself."""
|
|
3
|
+
|
|
4
|
+
from netherframe.ext.aws.state_normalization import * # noqa: F403
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "netherframe.ext.aws"
|
|
3
|
+
version = "0.2.0"
|
|
4
|
+
description = "AWS provider extensions for Netherframe hybrid execution and graph ownership"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.14"
|
|
7
|
+
license = "MIT"
|
|
8
|
+
license-files = ["LICENSE"]
|
|
9
|
+
dependencies = ["netherframe.core>=0.9.0"]
|
|
10
|
+
|
|
11
|
+
[project.entry-points."nf.state_normalizers"]
|
|
12
|
+
aws = "netherframe.ext.aws.state_normalization:normalize_aws_state"
|
|
13
|
+
|
|
14
|
+
[project.entry-points."nf.state_refresh_representations"]
|
|
15
|
+
aws_ssm_parameter_6_73 = "netherframe.ext.aws.state_normalization:ssm_refresh_representation"
|
|
16
|
+
|
|
17
|
+
[project.entry-points."nf.graph_identities"]
|
|
18
|
+
aws = "netherframe.ext.aws.graph_identity:contract"
|
|
19
|
+
|
|
20
|
+
[project.entry-points."nf.graph_planning"]
|
|
21
|
+
aws = "netherframe.ext.aws.graph_planning:contract"
|
|
22
|
+
|
|
23
|
+
[project.urls]
|
|
24
|
+
Homepage = "https://netherframe.arsenal.sh"
|
|
25
|
+
Repository = "https://github.com/arsenal-sh/netherframe"
|
|
26
|
+
|
|
27
|
+
[build-system]
|
|
28
|
+
requires = ["uv_build>=0.13.9,<0.14.0"]
|
|
29
|
+
build-backend = "uv_build"
|
|
30
|
+
|
|
31
|
+
[tool.uv]
|
|
32
|
+
package = true
|
|
33
|
+
|
|
34
|
+
[tool.uv.build-backend]
|
|
35
|
+
module-name = [
|
|
36
|
+
"netherframe.ext.aws",
|
|
37
|
+
"nf.ext.aws",
|
|
38
|
+
]
|
|
39
|
+
module-root = ""
|
|
40
|
+
namespace-packages = [
|
|
41
|
+
"netherframe",
|
|
42
|
+
"netherframe.ext",
|
|
43
|
+
"nf",
|
|
44
|
+
"nf.ext",
|
|
45
|
+
]
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "netherframe.ext.aws"
|
|
3
|
+
version = "0.2.0"
|
|
4
|
+
description = "AWS provider extensions for Netherframe hybrid execution and graph ownership"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.14"
|
|
7
|
+
license = "MIT"
|
|
8
|
+
license-files = ["LICENSE"]
|
|
9
|
+
dependencies = ["netherframe.core>=0.9.0"]
|
|
10
|
+
|
|
11
|
+
[project.entry-points."nf.state_normalizers"]
|
|
12
|
+
aws = "netherframe.ext.aws.state_normalization:normalize_aws_state"
|
|
13
|
+
|
|
14
|
+
[project.entry-points."nf.state_refresh_representations"]
|
|
15
|
+
aws_ssm_parameter_6_73 = "netherframe.ext.aws.state_normalization:ssm_refresh_representation"
|
|
16
|
+
|
|
17
|
+
[project.entry-points."nf.graph_identities"]
|
|
18
|
+
aws = "netherframe.ext.aws.graph_identity:contract"
|
|
19
|
+
|
|
20
|
+
[project.entry-points."nf.graph_planning"]
|
|
21
|
+
aws = "netherframe.ext.aws.graph_planning:contract"
|
|
22
|
+
|
|
23
|
+
[project.urls]
|
|
24
|
+
Homepage = "https://netherframe.arsenal.sh"
|
|
25
|
+
Repository = "https://github.com/arsenal-sh/netherframe"
|
|
26
|
+
|
|
27
|
+
[build-system]
|
|
28
|
+
requires = ["uv_build>=0.13.9,<0.14.0"]
|
|
29
|
+
build-backend = "uv_build"
|
|
30
|
+
|
|
31
|
+
[tool.uv]
|
|
32
|
+
package = true
|
|
33
|
+
|
|
34
|
+
[tool.uv.build-backend]
|
|
35
|
+
module-name = ["netherframe.ext.aws", "nf.ext.aws"]
|
|
36
|
+
module-root = ""
|
|
37
|
+
namespace-packages = ["netherframe", "netherframe.ext", "nf", "nf.ext"]
|