Skip to content

Commit

Permalink
Consider the dns domain precious
Browse files Browse the repository at this point in the history
  • Loading branch information
hartmans committed Jul 3, 2024
1 parent 6657a64 commit d6f830a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions development/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,12 @@ async def register_carthage_debian(self):
add_time_to_name=True)

add_provider(DebianImage)
add_provider(machine_implementation_key, MaybeLocalAwsVm)
add_provider(InjectionKey(DnsZone, name=config.developer.domain, addressing='public'),
when_needed(AwsHostedZone, name=config.developer.domain))
add_provider(machine_implementation_key, MaybeLocalAwsVm, allow_multiple=True)

@provides(InjectionKey(DnsZone, name=config.developer.domain, addressing='public'))
class dev_zone(AwsHostedZone, InjectableModel):
name = config.developer.domain
add_provider(destroy_policy, DeletionPolicy.warn)
add_provider(WriteAuthorizedKeysPlugin, allow_multiple=True)
add_provider(InjectionKey("aws_ami"),
image_provider(name='Carthage-Debian*',
Expand Down

0 comments on commit d6f830a

Please sign in to comment.