mysterious-area-77666
01/27/2021, 2:30 PMpki_intermediate_environment_backend.pki_intermediate_environment_backend_path
it throws the following AttributeError:
'OLVaultPKIIntermediateEnvBackend' object has no attribute 'pki_intermediate_environment_backend_path'
Here’s the class:
class OLVaultPKIIntermediateEnvBackend(ComponentResource):
def __init__(
self,
backend_config: OLVaultPKIIntermediateEnvBackendConfig,
opts: ResourceOptions = None,
):
super().__init__(
"ol:services:Vault:PKI:IntermediateEnvBackendConfig",
backend_config.environment_name,
None,
opts,
)
resource_options = ResourceOptions(parent=self).merge(opts) # type: ignore
self.pki_intermediate_environment_backend = Mount(
f"pki-intermediate-{backend_config.environment_name}",
opts=resource_options,
path=f"pki-intermediate-{backend_config.environment_name}",
type="pki",
description=f"Backend to create certs for pki-intermediate-{backend_config.environment_name} backends",
max_lease_ttl_seconds=backend_config.max_ttl,
default_lease_ttl_seconds=backend_config.default_ttl,
)
self.register_outputs(
{
"pki_intermediate_environment_backend_path": self.pki_intermediate_environment_backend.id,
}
)
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by