gifted-park-20161
03/14/2024, 4:06 PMgifted-park-20161
03/14/2024, 4:06 PMbland-painting-33593
03/14/2024, 5:34 PMmammoth-shoe-80073
03/14/2024, 5:59 PMattempted illegal RPC after program completion
I have added custom timeouts, but that doesn't seem to be helping. Not sure what else to do. Any help would be appreciated. Thanksmodern-hospital-96939
03/14/2024, 6:50 PMflat-dog-17732
03/15/2024, 12:54 PMsparse-gold-10561
03/15/2024, 4:34 PMflat-carpenter-38121
03/15/2024, 6:07 PM// Attach the Security Policy to the Target Proxy
_, err = compute.NewSecurityPolicyAssociation(ctx, "securityPolicyAssociation", &compute.SecurityPolicyAssociationArgs{
Policy: securityPolicy.ID(),
TargetProxy: proxy.ID(),
})
if err != nil {
return err
}
hundreds-gpu-71155
03/15/2024, 6:28 PMhallowed-garden-59914
03/15/2024, 8:11 PMhallowed-horse-57635
03/15/2024, 8:45 PMhundreds-gpu-71155
03/15/2024, 9:01 PMhundreds-gpu-71155
03/15/2024, 9:02 PMhallowed-garden-59914
03/15/2024, 9:19 PMdelightful-monkey-90700
03/15/2024, 11:28 PMdeleteBeforeReplace
option). During one Pulumi run, the VMs were deleted and then another resource failed to be deployed (Cloud Build, build failed -- sometimes common) and during all subsequent runs, Pulumi complains that it cannot replace those Virtual Machines because they do not exist (because it deleted them)
error: deleting urn:pulumi:staging::x::gcp:compute/network:Network$gcp:compute/subnetwork:Subnetwork$gcp:compute/instance:Instance::x: 1 error occurred:
* Error deleting instance: googleapi: Error 404: The resource 'x-c5913e9' was not found, notFound
error: deleting urn:pulumi:staging::z::gcp:compute/network:Network$gcp:compute/subnetwork:Subnetwork$gcp:compute/instance:Instance::y: 1 error occurred:
* Error deleting instance: googleapi: Error 404: The resource 'y-2506283' was not found, notFound
error: deleting urn:pulumi:staging::z::gcp:compute/network:Network$gcp:serviceAccount/account:Account$gcp:compute/instance:Instance::z: 1 error occurred:
* Error deleting instance: googleapi: Error 404: The resource 'z-c86f123' was not found, notFound
It seems like that a pulumi refresh
should help, but it does not:
~ gcp:compute:Instance z refreshing (0s)
...
The VM definitely does not exist within the cloud provider's console either
How can I move forward without directly manipulating the Stack state ?hallowed-horse-57635
03/15/2024, 11:34 PMmodern-dawn-69123
03/16/2024, 12:01 AMhallowed-garden-59914
03/16/2024, 1:59 AMsalmon-account-74572
03/16/2024, 3:01 PMexamples
directory of the repository don't seem to work. (There doesn't seem to be a machine.NewSecrets
function; the IDE flags it as missing and pulumi up
fails with a panic. Reviewing the code shows a machine.NewSecretsType
function, but then I run into errors with type mismatches when I attempt to use the result as an input elsewhere.)icy-controller-6092
03/17/2024, 12:17 AMlocal.Command
but for http CRUD resources? trying to mix request body in with shell syntax is messyicy-controller-6092
03/17/2024, 12:18 AMfast-sandwich-30809
03/18/2024, 12:14 AM__provider
in the statefile for dynamic resources is causing nightmares (mostly re trying to not serialize rotating credentials). It seems the new state of the art is relying on process.env
to pass in auth tokens. As long as my code runs before the serialized provider, this should be fine - but I'm worried about refresh operations. Does refresh
run the program? Or does it only look at the statefile?delightful-monkey-90700
03/18/2024, 3:48 AMwarning: inputs to import do not match the existing resource; importing this resource will fail
) because some of the attributes of the existing bucket aren't set, but I can't actually set them as the result of gcp.storage.Bucket.get()
.
For example, one bucket may need to set logging.logObjectPrefix
which is a pulumi.Input<string> | undefined
but since gcp.storage.Bucket.get()
returns an object whose logging member is pulumi.Output<BucketLogging | undefined>
there's no way for me to unwrap logging.logObjectPrefix
into pulumi.Output<string> | undefined
only pulumi.Output<string | undefined>
which is incompatible.
Am I missing something ?lively-dinner-8285
03/18/2024, 7:13 AMRelease
After running pulumi up
it says the deployment was successful and the status is deployed, however, there are no workload showing up in GKE. are there any specific values i need to set to get this going??lively-dinner-8285
03/18/2024, 7:15 AMimport pulumi
from pulumi_kubernetes.helm.v3 import Release, ReleaseArgs, RepositoryOptsArgs
from typing import Optional, Dict
import pulumi_kubernetes as k8s
from pulumi import ResourceOptions
class HelmCharts:
def __init__(
self, release_name: str,
chart_name: str,
repo: Optional[str],
version: Optional[str],
namespace: Optional[str],
cluster_name: str,
):
self.release_name = release_name
self.chart_name = chart_name
self.version = version
self.repo = repo
self.namespace = namespace
self.cluster_name = cluster_name
def deploy(self, values: Optional[Dict] = None):
k8s_provider = k8s.Provider(self.cluster_name)
chart = Release(
self.release_name,
ReleaseArgs(
chart=self.chart_name,
version=self.version,
namespace=self.namespace,
verify=False,
create_namespace=True,
cleanup_on_fail=True,
wait_for_jobs=True,
repository_opts=RepositoryOptsArgs(
repo=self.repo,
),
values=values # used to set chart values
),
opts=ResourceOptions(provider=k8s_provider),
)
return chart
@staticmethod
def export_chart_status(chart: Release):
return pulumi.export("chart status", chart.status)
victorious-air-19043
03/18/2024, 9:46 AMmelodic-secretary-404
03/18/2024, 5:59 PMname: Setup Pulumi
uses: pulumi/actions@v3
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
melodic-secretary-404
03/18/2024, 5:59 PMInput required and not supplied: command
busy-journalist-6936
03/18/2024, 8:44 PMsalmon-leather-21193
03/19/2024, 4:19 AM