strong-intern-84363
04/15/2022, 1:27 AMwebserver_backend_service = gcp.compute.BackendService(
f"bak-web{x}-{projectName}-{regionShort}-{environment}",
name= f"bak-web{x+1}-{projectName}-{regionShort}-{environment}",
health_checks=webservers_hc,
backends=
[gcp.compute.BackendServiceBackendArgs(
group=[webserversTgList[0], webserversTgList[1]], >>>>> these are my two instances groups
)],
great-sunset-355
04/15/2022, 9:00 AMerror: [403] You do not have permission to perform this operation.
The stack has been created by a former member of organization and I'm a member as well.
EDIT:
So it looks like that only org admin can delete stacks. I hope that Pulumi IAM will be released soon because this is a mildly annoying issue.hallowed-army-79430
04/15/2022, 10:11 AMscreenshot▾
great-sunset-355
04/15/2022, 10:27 AMgreat-sunset-355
04/15/2022, 11:40 AMThis organization can only have one administrator. By making '<name>' the administrator, you will no longer be able to manage this organization's subscription or permissions.
Why is this limitation a thing in the first place?jolly-thailand-71855
04/15/2022, 12:15 PMjolly-thailand-71855
04/15/2022, 12:15 PMjolly-thailand-71855
04/15/2022, 12:17 PMbumpy-rose-86255
04/15/2022, 10:33 PM$ python3
Python 3.9.5 (default, Nov 23 2021, 15:27:38)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pulumi_aws_native.acmpca import get_permission
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.9/importlib/util.py", line 245, in __getattribute__
self.__spec__.loader.exec_module(self)
File "/home/mark/workspaces/.venv-pulumi-test/lib/python3.9/site-packages/pulumi_aws_native/acmpca/__init__.py", line 14, in <module>
from .get_permission import *
File "/home/mark/workspaces/.venv-pulumi-test/lib/python3.9/site-packages/pulumi_aws_native/acmpca/get_permission.py", line 54
@_utilities.lift_output_func(get_permission)
^
SyntaxError: invalid syntax
>>>
Also revealed by mypy:
$ mypy .venv-pulumi-test/lib/python3.9/site-packages/pulumi_aws_native/
.venv-pulumi-test/lib/python3.9/site-packages/pulumi_aws_native/acmpca/get_permission.py:23: error: expected an indented block [syntax]
Found 1 error in 1 file (errors prevented further checking)
@pulumi.output_type
class GetPermissionResult:
def __init__(__self__):
class AwaitableGetPermissionResult(GetPermissionResult):
Fix:
class GetPermissionResult:
def __init__(__self__):
...
class AwaitableGetPermissionResult(GetPermissionResult):
acoustic-truck-53557
04/16/2022, 9:21 PMname
is deprecated and db_name
is its replacement. If I just replace name
with db_name
while provisioning rds.instance, pulumi thinks I'm changing the value for db_name
and plan to replace the instance. How can I just adjust the attribute (from name to db_name) without causing a replacement?limited-army-96747
04/17/2022, 10:38 AMadorable-gpu-98268
04/17/2022, 12:35 PM5f360484020169eea3e14bdb22be7acb29829c9082913b0c302e70ffff7aa0de
which does not match the provided checksum.
However downloading from: https://get.pulumi.com/releases/sdk/pulumi-v3.29.1-linux-x64.tar.gz
I get a file with the checksum: 54920bbba46613aef7b61769f477a3b8c9a667929001743ae827b29d959f1d32
which does match the provided checksum.
I had this problem already in the past: https://github.com/pulumi/pulumi/issues/9063 Where it probably was due to the release process running twice and the cloudfront cache not being invalidated in between.
As I refer to a specific pulumi version and checksum in my build system for the purpose of reproducible builds, this does block the update for me when it happens.numerous-rocket-47908
04/17/2022, 11:53 PMnumerous-rocket-47908
04/17/2022, 11:54 PMfuture-window-78560
04/18/2022, 10:34 AMbrave-umbrella-18828
04/18/2022, 7:17 PMpolite-summer-58169
04/19/2022, 6:19 AMdamp-honey-93158
04/19/2022, 12:44 PMbetter-activity-84090
04/19/2022, 1:28 PMPulumi SDK Generator
, whats the process to fix non-working generated modules ?
ex: https://github.com/pulumi/pulumi-aws-native/blob/master/sdk/python/pulumi_aws_native/wafv2/get_web_aclassociation.py#L20
Missing retun for the function line 20
, and missing parenthesis line 47
?
I’ve tried looking at the contrib docs but it doesn’t seem clearrefined-king-6688
04/19/2022, 3:20 PMpulumi stack import
. I accidentally used the wrong AWS profile when creating a resource on my pulumi stack. Now pulumi thinks I’ve created a resource when it doesn’t exist in the AWS account that the stack is pointing at. I tried the following steps to fix this:
1. pulumi stack export > stack.json
2. delete references to the resources I don’t want to have in the stack
3. pulumi stack import --file stack.json
However, the pulumi stack import
doesn’t seem to import my changes? I get no interesting output after doing step 3. When trying step 1 again (after having done step 3) I still see the references to the resources that I deleted in step 2.
Has anyone else encountered this problem?brash-room-69051
04/19/2022, 5:10 PMpulumi typescript
by creating cloud run
everything seems fine. I almost got it right, except I got an error
gcp:cloudrun:IamMember (nodejs-everyone):
error: 1 error occurred:
* No value was found for project during import
Here is my code about IAM config in pulumi ts
const iamNodejs = new gcp.cloudrun.IamMember('nodejs-everyone', {
service: nodejsService.name,
location,
role: 'roles/run.invoker',
member: 'allUsers',
});
What did I miss?enough-room-83911
04/19/2022, 5:23 PMgray-lunch-89933
04/19/2022, 7:32 PMbrainy-church-78120
04/19/2022, 7:32 PMicy-boots-7501
04/19/2022, 8:00 PMrequirements.txt
file.
The dir I’m using as the source for the blob follows the folder structure defined here. (https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-python?tabs=asgi%2Cazurecli-linux%2Capplication-level#folder-structure)
What am I missing? How do I correctly create this blob so that the dependancies defined in requirements.txt get installed?
Thanks in advance for any time you can take. Any ideas are appreciated.jolly-kitchen-35206
04/19/2022, 10:08 PMjolly-kitchen-35206
04/19/2022, 10:09 PMcareful-monitor-50236
04/19/2022, 11:02 PMpulumi import google-native:appengine/v1:App discovery-api bborie-sandbox
But I am doing something wrong...
Previewing import (dev)
View Live: <https://app.pulumi.com/dustymugs-atlasai/discovery/dev/previews/8d621b42-36e4-4b93-834d-01cd3315ff20>
Type Name Plan Info
pulumi:pulumi:Stack discovery-dev 1 error
= └─ google-native:appengine/v1:App discovery-api import 1 error
Diagnostics:
google-native:appengine/v1:App (discovery-api):
error: Preview failed: property "appsId"/"name" not found
pulumi:pulumi:Stack (discovery-dev):
error: preview failed
What am I missing?jolly-kitchen-35206
04/19/2022, 11:10 PMjolly-kitchen-35206
04/20/2022, 12:56 AM