-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support IAM policy for the Environment of Apigee X #5270
Changes from 14 commits
6675fb1
f03205f
13f9206
88604e6
974e3d0
a485e31
702d8be
c506d87
27bca67
f4fde55
e018130
0c4ac42
4c435e5
eaaba25
68d4249
1e0499e
602cc27
5586f70
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -103,6 +103,7 @@ overrides: !ruby/object:Overrides::ResourceOverrides | |||||
# the resources needed for the acceptance test. | ||||||
name: "apigee_environment_basic_test" | ||||||
primary_resource_id: "apigee_environment" | ||||||
primary_resource_name: "getTestProjectFromEnv(), fmt.Sprintf(\"tf-test-apigee-env%s\", context[\"random_suffix\"])" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It looks like this is causing issues; it is causing things like this to be generated:
This results in the import id being set to something like
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let me know if that helps the tests pass for you locally! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks, done! I'm still working with my team to setup the permission for me to run tests locally. We can try and see if the tests pass in your system. |
||||||
test_env_vars: | ||||||
org_id: :ORG_ID | ||||||
billing_account: :BILLING_ACCT | ||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
obj["name"] = d.Get("project_id").(string) | ||
return obj, nil | ||
return obj, nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This
%
will indicate that the org_id can contain slashes, which should resolve the problem. (Currently the import_format regex excludes the "organization/" at the start of the org id.)