Created
August 4, 2021 12:10
-
-
Save 1oglop1/f3c4012b281fc344b52fd570441938c2 to your computer and use it in GitHub Desktop.
pulumi aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class EBEnvironmentEc2(pulumi.ComponentResource): | |
def __init__(self, env_config: EBEnvironmentEc2Config, opts: pulumi.ResourceOptions = None): | |
super().__init__( | |
"stekz:infrastructure:aws:elastic-beanstalk:EBEnvironmentEc2", | |
f"{env_config.environment_name}-eb-component", | |
None, | |
opts, | |
) | |
self._config = env_config | |
# merge parent options and override with child options | |
self._opts = pulumi.ResourceOptions.merge( | |
opts, | |
pulumi.ResourceOptions(parent=self), | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class EBEnvironment(pulumi.ComponentResource): | |
def __init__(self, env_config: EBEnvironmentConfig, opts: pulumi.ResourceOptions = None): | |
super().__init__( | |
"stekz:infrastructure:aws:elastic-beanstalk:EBEnvironment", | |
f"{env_config.environment_name}-eb-component", | |
None, | |
opts, | |
) | |
self._config = env_config | |
# merge parent options and override with child options | |
self._opts = pulumi.ResourceOptions.merge( | |
opts, | |
pulumi.ResourceOptions(parent=self), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment