Im working on something that involves schema trave...
# aws
f
Im working on something that involves schema traversal and I noticed something peculiar in the schema for the aws provider. at line 1034
Copy code
"aws:alb/IpAddressType:IpAddressType": {
            "type": "string",
            "enum": [
                {
                    "name": "Ipv4",
                    "value": "ipv4"
                },
                {
                    "name": "Dualstack",
                    "value": "dualstack"
                }
            ]
        },
at line 8986
Copy code
"aws:applicationloadbalancing/IpAddressType:IpAddressType": {
            "type": "string",
            "enum": [
                {
                    "name": "Ipv4",
                    "value": "ipv4"
                },
                {
                    "name": "Dualstack",
                    "value": "dualstack"
                }
            ]
        },
So there is the same data type for two different modules, understandable. The schema for applicationloadbalancing/loadBalancer starts at line 405729 and then describes the property
ipAddressType
at line 405789
Copy code
"ipAddressType": {
                   "type": "string",
                   "$ref": "#/types/aws:alb/ipAddressType:IpAddressType",
                   "description": "The type of IP addresses used by the subnets for your load balancer. The possible values are `ipv4` and `dualstack`\n"
               },
Shouldn't the
$ref
be
#/types/aws:applicationloadbalancing/ipAddressType:IpAddressType
? (currently doesn't get referenced in the schema at all despite being available) I understand that this is trivial, but it might be better to be more consistent. Is this something I can make a PR for? Also, I'm now realizing that I don't understand the difference between
alb
and
applicationloadbalancing
, can someone help me understand that?