You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks as though there is a limit of 25 google api services which can be enabled with terraform.
After running a terraform plan & terraform apply the services are enabled but when you then run a terraform plan again there are only 25 services saved within the remote state file causing terraform to output a diff as Google has the full list enabled.
Terraform should enable the google API service specified and save said services into the remote state file
Actual Behavior
Terraform is only showing a maximum of 25 google API services in the remote state file, so any subsequent terraform plan shows a diff
Steps to Reproduce
Add more than 25 google API services to your terraform config
Run terraform plan and then terraform apply
3 Re-run terraform plan and you will see that it shows 25 google API services and then see's a diff between what is actually running within Google when it should show the full list
The text was updated successfully, but these errors were encountered:
joe-boyce
changed the title
Limit of 25 API services saved in remote state for google_project_services resource
Limit of 25 API services saved in remote state for google_project_services resource (Blocker)
Apr 5, 2017
I can reproduce this. It looks like the default page size for listing services from google is 25 but the request lets you set the page size and paginate. I'll try to take care of that at some point in the next week or two (unless someone gets to it first).
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Apr 13, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
It looks as though there is a limit of 25 google api services which can be enabled with terraform.
After running a terraform plan & terraform apply the services are enabled but when you then run a terraform plan again there are only 25 services saved within the remote state file causing terraform to output a diff as Google has the full list enabled.
Example output:
Running a terraform show confirms that the remote state only has 25 stored:
Terraform Version
Terraform v0.9.2
Affected Resource(s)
google_project
google_project_services
state files
Terraform Configuration Files
Expected Behavior
Terraform should enable the google API service specified and save said services into the remote state file
Actual Behavior
Terraform is only showing a maximum of 25 google API services in the remote state file, so any subsequent terraform plan shows a diff
Steps to Reproduce
3 Re-run terraform plan and you will see that it shows 25 google API services and then see's a diff between what is actually running within Google when it should show the full list
The text was updated successfully, but these errors were encountered: