Skip to content

Add instance_id_prefix in AWS, Azure, and GCP#1786

Merged
abuabraham-ttd merged 11 commits intomainfrom
abu-UID2-5596
Jun 6, 2025
Merged

Add instance_id_prefix in AWS, Azure, and GCP#1786
abuabraham-ttd merged 11 commits intomainfrom
abu-UID2-5596

Conversation

@abuabraham-ttd
Copy link
Contributor

@abuabraham-ttd abuabraham-ttd commented Jun 4, 2025

https://github.com/IABTechLab/uid2-operator/actions/runs/15474269414

Successful E2E.

Changes

  • Creates service_instance_id prefix and updates config
  • Removed EntryPoint from class names to use class name in service_instance_id
  • Logic added in super class to ensure pattern and logging stay the same across CSP

Copy link
Contributor

@asloobq asloobq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 question on a hardcoded IP address. Otherwise LGTM

class GCPEntryPoint(ConfidentialCompute):

class AuxiliaryConfig:
GCP_METADATA: str = "169.254.169.254"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does this hardcoded IP address refer to ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the instance metadata endpoint. It is static 169.254.169.254 and local to instance (link local IP range). AWS, GCP both provides this and it returns instance metadata (region, instance-id, image used etc)

@abuabraham-ttd abuabraham-ttd merged commit 52d7f7d into main Jun 6, 2025
2 of 3 checks passed
@abuabraham-ttd abuabraham-ttd deleted the abu-UID2-5596 branch June 6, 2025 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants