At least for Amazon SNS integrations, creating a new opsgenie_api_integration resource does return an API key.
Importing an existing integration as an opsgenie_api_integration resource does not import the api key; it is left null in the state file. Since the underlying API does not return the API key, it will never be populated if you import.
Terraform Version
Affected Resource(s)
Please list the resources as a list, for example:
Expected Behavior
I'd like to get the computed API key from the Terraform managed PingdomV2 API integrations.
Actual Behavior
The OpsGenie interface fetches the API key with a separate call: